Spaces:
Runtime error
Runtime error
Commit
·
737941f
1
Parent(s):
ad953b8
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def vid_tube(user_query:str) -> tuple:
|
|
92 |
if vid.vid_info.get('streamingData'):
|
93 |
print(vid.vid_info.keys(),'-')
|
94 |
yt_flag = True
|
95 |
-
file_path = vid.streams.get_highest_resolution().download('/
|
96 |
break
|
97 |
|
98 |
return (file_path,) if yt_flag else "The system cannot fulfill your request currently please try later"
|
|
|
92 |
if vid.vid_info.get('streamingData'):
|
93 |
print(vid.vid_info.keys(),'-')
|
94 |
yt_flag = True
|
95 |
+
file_path = vid.streams.get_highest_resolution().download('/tmp/')
|
96 |
break
|
97 |
|
98 |
return (file_path,) if yt_flag else "The system cannot fulfill your request currently please try later"
|