Opera8 commited on
Commit
967bcc6
·
verified ·
1 Parent(s): d5d1658

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2643,7 +2643,8 @@ with gr.Blocks(title="LTX-2 Video Distilled 🎥🔈") as demo:
2643
  randomize_seed = gr.Checkbox(label="استفاده از سید تصادفی", value=True)
2644
 
2645
  with gr.Column(elem_id="step-column"):
2646
- output_video = gr.Video(label="ویدیوی ساخته شده", autoplay=True, height=512)
 
2647
  with gr.Row():
2648
  download_btn = gr.Button("📥 دانلود ویدیو", variant="secondary", size="sm", scale=0, visible=False)
2649
  with gr.Row(elem_id="controls-row"):
 
2643
  randomize_seed = gr.Checkbox(label="استفاده از سید تصادفی", value=True)
2644
 
2645
  with gr.Column(elem_id="step-column"):
2646
+ # پارامتر interactive=False در اینجا اضافه شد تا امکان آپلود غیرفعال شود
2647
+ output_video = gr.Video(label="ویدیوی ساخته شده", autoplay=True, height=512, interactive=False)
2648
  with gr.Row():
2649
  download_btn = gr.Button("📥 دانلود ویدیو", variant="secondary", size="sm", scale=0, visible=False)
2650
  with gr.Row(elem_id="controls-row"):