Spaces:
Running
Running
Update app_qwen_tts_fast.py
Browse files- app_qwen_tts_fast.py +4 -2
app_qwen_tts_fast.py
CHANGED
|
@@ -194,9 +194,11 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 194 |
outputs=[answer_text, answer_audio]
|
| 195 |
)
|
| 196 |
|
|
|
|
|
|
|
| 197 |
demo.launch(
|
| 198 |
server_name="0.0.0.0",
|
| 199 |
server_port=7860,
|
| 200 |
-
share=False
|
| 201 |
-
queue=True
|
| 202 |
)
|
|
|
|
|
|
| 194 |
outputs=[answer_text, answer_audio]
|
| 195 |
)
|
| 196 |
|
| 197 |
+
demo.queue() # enable long-running jobs (5 min audio OK)
|
| 198 |
+
|
| 199 |
demo.launch(
|
| 200 |
server_name="0.0.0.0",
|
| 201 |
server_port=7860,
|
| 202 |
+
share=False
|
|
|
|
| 203 |
)
|
| 204 |
+
|