Spaces:
Sleeping
Sleeping
Update audio.py
Browse files
audio.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
|
2 |
from gtts import gTTS
|
3 |
from pydub import AudioSegment
|
4 |
import tempfile
|
5 |
import os
|
6 |
import pyttsx3
|
7 |
from ms_tts import ms_tts_gen
|
8 |
-
|
9 |
os.environ["IMAGEIO_FFMPEG_EXE"] = "/usr/local/bin/ffmpeg"
|
10 |
# os.environ["IMAGEMAGICK_BINARY"] = "/usr/local/bin/convert"
|
11 |
|
|
|
1 |
+
|
2 |
from gtts import gTTS
|
3 |
from pydub import AudioSegment
|
4 |
import tempfile
|
5 |
import os
|
6 |
import pyttsx3
|
7 |
from ms_tts import ms_tts_gen
|
8 |
+
from moviepy.editor import *
|
9 |
os.environ["IMAGEIO_FFMPEG_EXE"] = "/usr/local/bin/ffmpeg"
|
10 |
# os.environ["IMAGEMAGICK_BINARY"] = "/usr/local/bin/convert"
|
11 |
|