Spaces:
Running
on
Zero
Running
on
Zero
WeichenFan
commited on
Commit
·
13a0076
1
Parent(s):
af891a7
Add application file
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def set_seed(seed):
|
|
| 30 |
model_paths = {
|
| 31 |
"sd3.5": "stabilityai/stable-diffusion-3.5-large",
|
| 32 |
"sd3": "stabilityai/stable-diffusion-3-medium-diffusers",
|
| 33 |
-
"wan-t2v": "Wan-AI/Wan2.1-T2V-1.3B-Diffusers"
|
| 34 |
}
|
| 35 |
|
| 36 |
# Global variable for current model
|
|
@@ -164,8 +164,8 @@ demo = gr.Interface(
|
|
| 164 |
outputs=[
|
| 165 |
gr.Image(type="pil", label="CFG-Zero* Image"),
|
| 166 |
gr.Image(type="pil", label="CFG Image"),
|
| 167 |
-
gr.Video(label="CFG-Zero* Video"),
|
| 168 |
-
gr.Video(label="CFG Video"),
|
| 169 |
gr.Textbox(label="Used Seed")
|
| 170 |
],
|
| 171 |
title="CFG-Zero*: Improved Classifier-Free Guidance for Flow Matching Models",
|
|
|
|
| 30 |
model_paths = {
|
| 31 |
"sd3.5": "stabilityai/stable-diffusion-3.5-large",
|
| 32 |
"sd3": "stabilityai/stable-diffusion-3-medium-diffusers",
|
| 33 |
+
# "wan-t2v": "Wan-AI/Wan2.1-T2V-1.3B-Diffusers"
|
| 34 |
}
|
| 35 |
|
| 36 |
# Global variable for current model
|
|
|
|
| 164 |
outputs=[
|
| 165 |
gr.Image(type="pil", label="CFG-Zero* Image"),
|
| 166 |
gr.Image(type="pil", label="CFG Image"),
|
| 167 |
+
# gr.Video(label="CFG-Zero* Video"),
|
| 168 |
+
# gr.Video(label="CFG Video"),
|
| 169 |
gr.Textbox(label="Used Seed")
|
| 170 |
],
|
| 171 |
title="CFG-Zero*: Improved Classifier-Free Guidance for Flow Matching Models",
|