leannebriffa
commited on
Commit
·
9b24c9c
1
Parent(s):
9ad7040
Uploaded Hello World Example
Browse files- app.py +7 -0
- requirements.txt +1 -0
app.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
def hello_world(name):
|
4 |
+
return f"Hello, {name}!"
|
5 |
+
|
6 |
+
iface = gr.Interface(fn=hello_world, inputs="text", outputs="text")
|
7 |
+
iface.launch(share=True)
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
gradio
|