Spaces:
Runtime error
Runtime error
David Li commited on
Commit ·
6ecd4f1
1
Parent(s): f25d1de
fix: try again
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ from openbb_terminal.forecast.whisper_model import transcribe_and_summarize
|
|
| 9 |
|
| 10 |
def get_video_id(url):
|
| 11 |
|
| 12 |
-
video_id = re.findall(r"v=([\w]{11})", url)[0]
|
| 13 |
old_stdin = sys.stdin
|
| 14 |
# mkdir /home/user/.cache/whisper
|
| 15 |
os.makedirs(f"/home/user/.cache/whisper", exist_ok=True)
|
|
|
|
| 9 |
|
| 10 |
def get_video_id(url):
|
| 11 |
|
| 12 |
+
video_id = re.findall(r"v=([-\w]{11})", url)[0]
|
| 13 |
old_stdin = sys.stdin
|
| 14 |
# mkdir /home/user/.cache/whisper
|
| 15 |
os.makedirs(f"/home/user/.cache/whisper", exist_ok=True)
|