Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -26,6 +26,7 @@ from fastapi.staticfiles import StaticFiles
|
|
26 |
import logging
|
27 |
|
28 |
|
|
|
29 |
app = FastAPI()
|
30 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
31 |
templates = Jinja2Templates(directory="templates")
|
@@ -56,8 +57,7 @@ import glob
|
|
56 |
from pydub import AudioSegment
|
57 |
import tempfile
|
58 |
import uuid
|
59 |
-
import
|
60 |
-
soundfile as sf
|
61 |
#from IPython.display import display, Audio, Markdown, clear_output
|
62 |
from piper_phonemize import phonemize_codepoints, phonemize_espeak, tashkeel_run
|
63 |
|
|
|
26 |
import logging
|
27 |
|
28 |
|
29 |
+
|
30 |
app = FastAPI()
|
31 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
32 |
templates = Jinja2Templates(directory="templates")
|
|
|
57 |
from pydub import AudioSegment
|
58 |
import tempfile
|
59 |
import uuid
|
60 |
+
import soundfile as sf
|
|
|
61 |
#from IPython.display import display, Audio, Markdown, clear_output
|
62 |
from piper_phonemize import phonemize_codepoints, phonemize_espeak, tashkeel_run
|
63 |
|