Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def calculator(num1, operation, num2):
|
|
13 |
|
14 |
iface = gr.Interface(
|
15 |
calculator,
|
16 |
-
["number", gr.
|
17 |
"number",
|
18 |
allow_flagging="manual",
|
19 |
flagging_options=["wrong sign", "off by one", "other"]
|
|
|
13 |
|
14 |
iface = gr.Interface(
|
15 |
calculator,
|
16 |
+
["number", gr.Radio(["add", "subtract", "multiply", "divide"]), "number"],
|
17 |
"number",
|
18 |
allow_flagging="manual",
|
19 |
flagging_options=["wrong sign", "off by one", "other"]
|