Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,14 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def calculator(
|
4 |
-
|
5 |
-
return num1 + num2
|
6 |
-
elif operation == "subtract":
|
7 |
-
return num1 - num2
|
8 |
-
elif operation == "multiply":
|
9 |
-
return num1 * num2
|
10 |
-
elif operation == "divide":
|
11 |
-
return num1 / num2
|
12 |
|
13 |
|
14 |
demo = gr.Interface(
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def calculator(num):
|
4 |
+
return 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
6 |
|
7 |
demo = gr.Interface(
|