Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
7e87acc
1
Parent(s):
40a0ff4
Dead Simple test
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def
|
4 |
return f"Hello, {name}!"
|
5 |
|
6 |
-
iface = gr.Interface(fn=
|
7 |
|
8 |
if __name__ == "__main__":
|
9 |
iface.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def say_hello(name):
|
4 |
return f"Hello, {name}!"
|
5 |
|
6 |
+
iface = gr.Interface(fn=say_hello, inputs="text", outputs="text")
|
7 |
|
8 |
if __name__ == "__main__":
|
9 |
iface.launch()
|