Spaces:
Sleeping
Sleeping
Update src/app.py
Browse files- src/app.py +6 -5
src/app.py
CHANGED
|
@@ -350,7 +350,8 @@ with gr.Blocks(
|
|
| 350 |
with gr.Column():
|
| 351 |
youtube_url = gr.Textbox(
|
| 352 |
label="YouTube URL",
|
| 353 |
-
|
|
|
|
| 354 |
lines=1,
|
| 355 |
scale=4
|
| 356 |
)
|
|
@@ -424,10 +425,10 @@ with gr.Blocks(
|
|
| 424 |
2. This app uses Pixtral-12B for vision-language understanding
|
| 425 |
|
| 426 |
### π₯ Load Video:
|
| 427 |
-
|
| 428 |
-
|
| 429 |
-
|
| 430 |
-
|
| 431 |
|
| 432 |
### π¬ Chat with Video:
|
| 433 |
1. Go to the "Chat with Video" tab
|
|
|
|
| 350 |
with gr.Column():
|
| 351 |
youtube_url = gr.Textbox(
|
| 352 |
label="YouTube URL",
|
| 353 |
+
value="https://www.youtube.com/watch?v=7Hcg-rLYwdM",
|
| 354 |
+
interactive=False,
|
| 355 |
lines=1,
|
| 356 |
scale=4
|
| 357 |
)
|
|
|
|
| 425 |
2. This app uses Pixtral-12B for vision-language understanding
|
| 426 |
|
| 427 |
### π₯ Load Video:
|
| 428 |
+
For this demo, we **use a fixed pre-downloaded YouTube video**:
|
| 429 |
+
π [https://www.youtube.com/watch?v=7Hcg-rLYwdM](https://www.youtube.com/watch?v=7Hcg-rLYwdM)
|
| 430 |
+
Due to Hugging Face free Space network restrictions, direct downloads from YouTube are disabled.
|
| 431 |
+
All processing in this demo is based on this preloaded video.
|
| 432 |
|
| 433 |
### π¬ Chat with Video:
|
| 434 |
1. Go to the "Chat with Video" tab
|