Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
geraskalnas
/
JustTesting
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
geraskalnas
commited on
Apr 29, 2023
Commit
82d5b60
·
1 Parent(s):
b2af4f6
Create run.py
Browse files
Files changed (1)
hide
show
run.py
+9
-0
run.py
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
import gradio as gr
2
+
3
+
def greet(name):
4
+
return "Hello " + name + "!"
5
+
6
+
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+
8
+
if __name__ == "__main__":
9
+
demo.launch()