Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
sannrao
/
sf-test1
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
sf-test1
/
app.py
sannrao
Update app.py
cd3ac1d
over 2 years ago
raw
Copy download link
history
blame
contribute
delete
Safe
163 Bytes
import
gradio
as
gr
import
openai
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()