calc
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
def greet(
|
| 4 |
-
return
|
| 5 |
|
| 6 |
-
iface = gr.Interface(fn=greet, inputs="
|
| 7 |
iface.launch(share=True)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
def greet(num):
|
| 4 |
+
return num+69
|
| 5 |
|
| 6 |
+
iface = gr.Interface(fn=greet, inputs="number", outputs="number")
|
| 7 |
iface.launch(share=True)
|