Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
THUDM
/
CogVideoX-2B-Space
like
417
Running
App
Files
Files
Community
57
refs/pr/41
CogVideoX-2B-Space
/
app.py
Ruttapoom
Create app.py
b9e5455
about 2 years ago
raw
Copy download link
history
blame
Safe
149 Bytes
import
gradio
as
gr
def
greet
(
name
):
return
"Hello "
+ name +
"!!"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()