Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
gagan001
/
my-blogs
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
d6e926a
my-blogs
/
app.py
gagan001
Initial commit
d6e926a
10 months ago
raw
Copy download link
history
blame
Safe
197 Bytes
import
gradio
as
gr
import
sys
sys.path.append(
"../Transformers"
)
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()