Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,8 @@ def tts_engine(text):
|
|
| 19 |
instruct="Hello!!",
|
| 20 |
model_size="1.7B",
|
| 21 |
api_name="/generate_custom_voice"
|
| 22 |
-
|
|
|
|
| 23 |
return result
|
| 24 |
except Exception as e:
|
| 25 |
print(f"Error: {e}")
|
|
@@ -28,7 +29,7 @@ def tts_engine(text):
|
|
| 28 |
# 3. 构建极简界面
|
| 29 |
with gr.Blocks(title="All-In-One-TTS") as demo:
|
| 30 |
gr.Markdown("# 🎙️ All-In-One-TTS")
|
| 31 |
-
gr.Markdown("Compare leading TTS models. Starting with **
|
| 32 |
|
| 33 |
with gr.Row():
|
| 34 |
input_text = gr.Textbox(
|
|
|
|
| 19 |
instruct="Hello!!",
|
| 20 |
model_size="1.7B",
|
| 21 |
api_name="/generate_custom_voice"
|
| 22 |
+
)
|
| 23 |
+
print(result)
|
| 24 |
return result
|
| 25 |
except Exception as e:
|
| 26 |
print(f"Error: {e}")
|
|
|
|
| 29 |
# 3. 构建极简界面
|
| 30 |
with gr.Blocks(title="All-In-One-TTS") as demo:
|
| 31 |
gr.Markdown("# 🎙️ All-In-One-TTS")
|
| 32 |
+
gr.Markdown("Compare leading TTS models. Starting with **Qwen3-TTS-1.7B**.")
|
| 33 |
|
| 34 |
with gr.Row():
|
| 35 |
input_text = gr.Textbox(
|