Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
troloff
/
dog_cat
like
0
Sleeping
App
Files
Files
Community
Todd Roloff
commited on
Sep 11, 2023
Commit
1a4aa1d
•
1 Parent(s):
b99fbff
Initial
Browse files
Files changed (1)
hide
show
app.py
+9
-0
app.py
ADDED
Viewed
@@ -0,0 +1,9 @@
1
+
import gradio as gr
2
+
3
+
4
+
def greet(name):
5
+
return "Hello " + name + "!!"
6
+
7
+
8
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+
iface.launch()