Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
sisconsavior
/
my_glm_try_01
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
sisconsavior
commited on
Jan 9, 2024
Commit
cff691d
·
1 Parent(s):
a64b286
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, intensity):
4
+
return "Hello " * intensity + name + "!"
5
+
6
+
7
+
iface = gr.Interface(fn=greet, inputs=["text", "slider"], outputs="text")
8
+
iface.launch(share=True)