app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
def greet(): return "Hello"
|
3 |
-
gr.Interface(fn=greet, inputs=
|
4 |
|
|
|
1 |
import gradio as gr
|
2 |
+
def greet(nm): return f"Hello {nm}!"
|
3 |
+
gr.Interface(fn=greet, inputs="text", outputs="text").launch()
|
4 |
|