Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ def initialize_model_once():
|
|
92 |
start_time = time.time()
|
93 |
|
94 |
# Use the new import structure from the README
|
95 |
-
from maliba_ai.tts
|
96 |
|
97 |
model = BambaraTTSInference()
|
98 |
speakers = get_speakers_dict()
|
@@ -321,7 +321,7 @@ def build_interface():
|
|
321 |
label="Generated Speech",
|
322 |
type="numpy",
|
323 |
interactive=False,
|
324 |
-
format="wav"
|
325 |
)
|
326 |
|
327 |
status_output = gr.Textbox(
|
@@ -405,7 +405,7 @@ def main():
|
|
405 |
"""Main function to launch the Gradio interface"""
|
406 |
logger.info("Starting Bambara TTS Gradio interface.")
|
407 |
|
408 |
-
|
409 |
interface = build_interface()
|
410 |
interface.launch(
|
411 |
server_name="0.0.0.0",
|
|
|
92 |
start_time = time.time()
|
93 |
|
94 |
# Use the new import structure from the README
|
95 |
+
from maliba_ai.tts import BambaraTTSInference
|
96 |
|
97 |
model = BambaraTTSInference()
|
98 |
speakers = get_speakers_dict()
|
|
|
321 |
label="Generated Speech",
|
322 |
type="numpy",
|
323 |
interactive=False,
|
324 |
+
format="wav"
|
325 |
)
|
326 |
|
327 |
status_output = gr.Textbox(
|
|
|
405 |
"""Main function to launch the Gradio interface"""
|
406 |
logger.info("Starting Bambara TTS Gradio interface.")
|
407 |
|
408 |
+
|
409 |
interface = build_interface()
|
410 |
interface.launch(
|
411 |
server_name="0.0.0.0",
|