Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
opendev-labs
/
AutoSpace
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
AutoSpace
/
app.py
Yash Ramteke
Update app.py
6013b39
verified
8 months ago
raw
Copy download link
history
blame
contribute
delete
191 Bytes
# app.py
import
gradio
as
gr
def
generate
(
prompt
):
# Do AI work here
return
f"Generated for:
{prompt}
"
demo = gr.Interface(fn=generate, inputs=
"text"
, outputs=
"text"
)
demo.launch()