Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -335,12 +335,17 @@ with gr.Blocks(title="Chapter-Llama", head=head) as demo:
|
|
| 335 |
|
| 336 |
with gr.Row():
|
| 337 |
with gr.Column():
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
|
| 342 |
-
|
| 343 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 344 |
|
| 345 |
#with gr.Tab("Video URL"):
|
| 346 |
# video_url_input = gr.Textbox(
|
|
|
|
| 335 |
|
| 336 |
with gr.Row():
|
| 337 |
with gr.Column():
|
| 338 |
+
video_input = gr.File(
|
| 339 |
+
label="Upload Video or Audio File",
|
| 340 |
+
file_types=["video", "audio"],
|
| 341 |
+
type="binary",
|
| 342 |
+
)
|
| 343 |
+
#with gr.Tab("Upload File"):
|
| 344 |
+
# video_input = gr.File(
|
| 345 |
+
# label="Upload Video or Audio File",
|
| 346 |
+
# file_types=["video", "audio"],
|
| 347 |
+
# type="binary",
|
| 348 |
+
# )
|
| 349 |
|
| 350 |
#with gr.Tab("Video URL"):
|
| 351 |
# video_url_input = gr.Textbox(
|