Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -100,13 +100,14 @@ with gr.Blocks() as demo:
|
|
| 100 |
label="دانلود ویدئو",
|
| 101 |
visible=False,
|
| 102 |
)
|
|
|
|
| 103 |
#hidden_file = gr.File(visible=False)
|
| 104 |
-
file_pa = gr.Text()
|
| 105 |
# First chain: Process data and update hidden file
|
| 106 |
submit_btn.click(
|
| 107 |
fn=main,
|
| 108 |
inputs=[video_input, params],
|
| 109 |
-
outputs=[progress_report,
|
| 110 |
concurrency_limit=4,
|
| 111 |
)
|
| 112 |
|
|
|
|
| 100 |
label="دانلود ویدئو",
|
| 101 |
visible=False,
|
| 102 |
)
|
| 103 |
+
vid_out = gr.Video()
|
| 104 |
#hidden_file = gr.File(visible=False)
|
| 105 |
+
#file_pa = gr.Text()
|
| 106 |
# First chain: Process data and update hidden file
|
| 107 |
submit_btn.click(
|
| 108 |
fn=main,
|
| 109 |
inputs=[video_input, params],
|
| 110 |
+
outputs=[progress_report, vid_out],
|
| 111 |
concurrency_limit=4,
|
| 112 |
)
|
| 113 |
|