revert calculator_live changes

This commit is contained in:
Abubakar Abid 2022-03-22 16:40:32 -07:00
parent 763585cf24
commit 503eb7bb53

View File

@ -12,7 +12,7 @@ def calculator(num1, operation, num2):
return num1 / num2
demo = gr.Interface(
iface = gr.Interface(
calculator,
["number", gr.inputs.Radio(["add", "subtract", "multiply", "divide"]), "number"],
"number",
@ -20,4 +20,4 @@ demo = gr.Interface(
)
if __name__ == "__main__":
demo.launch()
iface.launch()