Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
THUDM
/
CogVideoX-2B-Space
like
416
Running
App
Files
Files
Community
57
b9e5455
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()