Spaces:
Running
on
Zero
Running
on
Zero
Alexander Bagus
commited on
Commit
·
4c72f53
1
Parent(s):
83cd1bb
22
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ from videox_fun.pipeline import ZImageControlPipeline
|
|
| 10 |
from videox_fun.models import ZImageControlTransformer2DModel
|
| 11 |
from transformers import AutoTokenizer, Qwen3ForCausalLM
|
| 12 |
from diffusers import AutoencoderKL
|
| 13 |
-
from image_utils import get_image_latent, scale_image
|
| 14 |
# from videox_fun.utils.utils import get_image_latent
|
| 15 |
|
| 16 |
|
|
@@ -137,7 +137,7 @@ with open('static/data.json', 'r') as file:
|
|
| 137 |
data = json.load(file)
|
| 138 |
examples = data['examples']
|
| 139 |
|
| 140 |
-
with gr.Blocks() as demo:
|
| 141 |
with gr.Column(elem_id="col-container"):
|
| 142 |
with gr.Column():
|
| 143 |
gr.HTML(read_file("static/header.html"))
|
|
|
|
| 10 |
from videox_fun.models import ZImageControlTransformer2DModel
|
| 11 |
from transformers import AutoTokenizer, Qwen3ForCausalLM
|
| 12 |
from diffusers import AutoencoderKL
|
| 13 |
+
from utils.image_utils import get_image_latent, scale_image
|
| 14 |
# from videox_fun.utils.utils import get_image_latent
|
| 15 |
|
| 16 |
|
|
|
|
| 137 |
data = json.load(file)
|
| 138 |
examples = data['examples']
|
| 139 |
|
| 140 |
+
with gr.Blocks(css=css) as demo:
|
| 141 |
with gr.Column(elem_id="col-container"):
|
| 142 |
with gr.Column():
|
| 143 |
gr.HTML(read_file("static/header.html"))
|