Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
JiunYi
/
test-gradio-20240309
like
0
Sleeping
App
Files
Files
Community
JiunYi
commited on
Mar 9
Commit
b69f64a
•
1 Parent(s):
1454240
Create app.py
Browse files
Files changed (1)
hide
show
app.py
+8
-0
app.py
ADDED
Viewed
@@ -0,0 +1,8 @@
1
+
import gradio as gr
2
+
3
+
def greet(name):
4
+
return "Hello " + name + "!"
5
+
6
+
demo = gr.Interface(fn=greet, inputs="textbox", outputs="textbox")
7
+
8
+
demo.launch(share=True)