Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
KaiOfTime
/
text-generation-webui-main
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
4d1d452
text-generation-webui-main
/
app.py
KaiOfTime
Update app.py
4d1d452
verified
9 months ago
raw
Copy download link
history
blame
Safe
175 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
demo = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
demo.launch(server_port=
7860
,share=
True
)