Spaces:
Sleeping
Sleeping
Eason Lu
commited on
Commit
·
d23f574
1
Parent(s):
144c78b
delete some files
Browse filesFormer-commit-id: 84027096b68c490ed6402cc078569c9b2ffd5241
- .mp3 +0 -0
- pipeline.py +2 -1
- placeholder.mp3 +0 -0
.mp3
DELETED
Binary file (657 kB)
|
|
pipeline.py
CHANGED
@@ -5,6 +5,7 @@ import os
|
|
5 |
import io
|
6 |
import whisper
|
7 |
import ffmpeg
|
|
|
8 |
|
9 |
parser = argparse.ArgumentParser()
|
10 |
parser.add_argument("--link", help="youtube video link here", default=None, type=str, required=False)
|
@@ -134,7 +135,7 @@ if script.strip():
|
|
134 |
script_arr.append(script.strip())
|
135 |
|
136 |
# Translate and save
|
137 |
-
for s in script_arr:
|
138 |
# using chatgpt model
|
139 |
if model_name == "gpt-3.5-turbo":
|
140 |
# print(s + "\n")
|
|
|
5 |
import io
|
6 |
import whisper
|
7 |
import ffmpeg
|
8 |
+
from tqdm import tqdm
|
9 |
|
10 |
parser = argparse.ArgumentParser()
|
11 |
parser.add_argument("--link", help="youtube video link here", default=None, type=str, required=False)
|
|
|
135 |
script_arr.append(script.strip())
|
136 |
|
137 |
# Translate and save
|
138 |
+
for s in tqdm(script_arr):
|
139 |
# using chatgpt model
|
140 |
if model_name == "gpt-3.5-turbo":
|
141 |
# print(s + "\n")
|
placeholder.mp3
DELETED
Binary file (657 kB)
|
|