aliabd HF staff commited on
Commit
0cd8b74
1 Parent(s): 7bf8c39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def calculator(num1, operation, num2):
13
 
14
  iface = gr.Interface(
15
  calculator,
16
- ["number", gr.inputs.Radio(["add", "subtract", "multiply", "divide"]), "number"],
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"]