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