Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ hf_writer = gr.HuggingFaceDatasetSaver(HF_TOKEN, "crowdsourced-calculator-demo")
|
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
calculator,
|
19 |
-
["number", gr.
|
20 |
"number",
|
21 |
allow_flagging="manual",
|
22 |
flagging_options=["wrong sign", "off by one", "other"],
|
|
|
16 |
|
17 |
iface = gr.Interface(
|
18 |
calculator,
|
19 |
+
["number", gr.Radio(["add", "subtract", "multiply", "divide"]), "number"],
|
20 |
"number",
|
21 |
allow_flagging="manual",
|
22 |
flagging_options=["wrong sign", "off by one", "other"],
|