Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,9 +42,9 @@ def calculator(num1, num2, operation):
|
|
| 42 |
iface = gr.Interface(
|
| 43 |
fn=calculator,
|
| 44 |
inputs=[
|
| 45 |
-
gr.
|
| 46 |
-
gr.
|
| 47 |
-
gr.
|
| 48 |
choices=["Addition", "Subtraction", "Multiplication", "Division"],
|
| 49 |
label="Operation"
|
| 50 |
)
|
|
|
|
| 42 |
iface = gr.Interface(
|
| 43 |
fn=calculator,
|
| 44 |
inputs=[
|
| 45 |
+
gr.Number(label="Number 1"),
|
| 46 |
+
gr.Number(label="Number 2"),
|
| 47 |
+
gr.Dropdown(
|
| 48 |
choices=["Addition", "Subtraction", "Multiplication", "Division"],
|
| 49 |
label="Operation"
|
| 50 |
)
|