Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def read_video_pyav(container, indices):
|
|
| 44 |
def chat(token):
|
| 45 |
# Download video from the hub
|
| 46 |
#video_path_1 = hf_hub_download(repo_id="raushan-testing-hf/videos-test", filename="sample_demo_1.mp4", repo_type="dataset")
|
| 47 |
-
video_path="
|
| 48 |
#video_path_2 = hf_hub_download(repo_id="raushan-testing-hf/videos-test", filename="karate.mp4", repo_type="dataset")
|
| 49 |
|
| 50 |
container = av.open(video_path)
|
|
|
|
| 44 |
def chat(token):
|
| 45 |
# Download video from the hub
|
| 46 |
#video_path_1 = hf_hub_download(repo_id="raushan-testing-hf/videos-test", filename="sample_demo_1.mp4", repo_type="dataset")
|
| 47 |
+
video_path="./sample1-Scene-001.mp4"
|
| 48 |
#video_path_2 = hf_hub_download(repo_id="raushan-testing-hf/videos-test", filename="karate.mp4", repo_type="dataset")
|
| 49 |
|
| 50 |
container = av.open(video_path)
|