Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,6 @@ from gtts import gTTS
|
|
13 |
from mutagen.mp3 import MP3
|
14 |
from gtts import gTTS
|
15 |
import os
|
16 |
-
from multiprocessing import Pool,cpu_count
|
17 |
|
18 |
app = Flask(__name__)
|
19 |
|
@@ -142,8 +141,8 @@ def generate_video():
|
|
142 |
for id in range(len(lines)):
|
143 |
create_text_image(lines[id],id,image_olst)
|
144 |
id=list(range(len(lines)))
|
145 |
-
|
146 |
-
|
147 |
clips = []
|
148 |
for id in range(len(lines)):
|
149 |
clip = VideoFileClip(f"clip{id}.mp4")
|
|
|
13 |
from mutagen.mp3 import MP3
|
14 |
from gtts import gTTS
|
15 |
import os
|
|
|
16 |
|
17 |
app = Flask(__name__)
|
18 |
|
|
|
141 |
for id in range(len(lines)):
|
142 |
create_text_image(lines[id],id,image_olst)
|
143 |
id=list(range(len(lines)))
|
144 |
+
for i in range(len(lines)):
|
145 |
+
video_func(id)
|
146 |
clips = []
|
147 |
for id in range(len(lines)):
|
148 |
clip = VideoFileClip(f"clip{id}.mp4")
|