Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
THUDM
/
CogVideoX-2B-Space
like
413
Running
App
Files
Files
Community
57
refs/pr/17
CogVideoX-2B-Space
/
app.py
flash64
Create app.py
8324511
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()