Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -311,16 +311,16 @@ with gr.Blocks() as demo:
|
|
311 |
interactive=True,
|
312 |
label="Spatial Text Guidence Scale",
|
313 |
)
|
314 |
-
with gr.Row():
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
with gr.Row():
|
325 |
with gr.Column(scale=1.0):
|
326 |
img_cfg_scale = gr.Slider(
|
@@ -355,6 +355,7 @@ with gr.Blocks() as demo:
|
|
355 |
# up_image = gr.Image(type="pil", interactive=True, elem_id="image_upload").style(height=360)
|
356 |
# upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
|
357 |
clear = gr.Button("Restart")
|
|
|
358 |
run.click(gen_or_pre, [text_input, image_input, scfg_scale, tcfg_scale, img_cfg_scale, preframe_input, diffusion_step], [output_video])
|
359 |
|
360 |
demo.launch(share=True, enable_queue=True)
|
|
|
311 |
interactive=True,
|
312 |
label="Spatial Text Guidence Scale",
|
313 |
)
|
314 |
+
# with gr.Row():
|
315 |
+
# with gr.Column(scale=1.0):
|
316 |
+
# tcfg_scale = gr.Slider(
|
317 |
+
# minimum=1,
|
318 |
+
# maximum=50,
|
319 |
+
# value=6.5,
|
320 |
+
# step=0.1,
|
321 |
+
# interactive=True,
|
322 |
+
# label="Temporal Text Guidence Scale",
|
323 |
+
# )
|
324 |
with gr.Row():
|
325 |
with gr.Column(scale=1.0):
|
326 |
img_cfg_scale = gr.Slider(
|
|
|
355 |
# up_image = gr.Image(type="pil", interactive=True, elem_id="image_upload").style(height=360)
|
356 |
# upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
|
357 |
clear = gr.Button("Restart")
|
358 |
+
tcfg_scale = scfg_scale
|
359 |
run.click(gen_or_pre, [text_input, image_input, scfg_scale, tcfg_scale, img_cfg_scale, preframe_input, diffusion_step], [output_video])
|
360 |
|
361 |
demo.launch(share=True, enable_queue=True)
|