Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
binxu
/
Ziyue-GPT
like
2
Sleeping
App
Files
Files
Community
5c2dae5
Ziyue-GPT
/
app.py
binxu
Create app.py
5c2dae5
about 2 years ago
raw
Copy download link
history
blame
187 Bytes
import
gradio
as
gr
import
transformers
import
tokenizers
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()