Spaces:
Running
Running
Update app_qwen_tts_fast.py
Browse files- app_qwen_tts_fast.py +3 -3
app_qwen_tts_fast.py
CHANGED
|
@@ -16,9 +16,9 @@ MODEL_ID = "Qwen/Qwen2.5-0.5B-Instruct"
|
|
| 16 |
DOC_FILE = "general.md"
|
| 17 |
TTS_API_URL = os.getenv(
|
| 18 |
"TTS_API_URL",
|
| 19 |
-
"
|
| 20 |
)
|
| 21 |
-
|
| 22 |
MAX_NEW_TOKENS = 128
|
| 23 |
TOP_K = 3
|
| 24 |
|
|
@@ -173,7 +173,7 @@ def run_pipeline(question):
|
|
| 173 |
# UI
|
| 174 |
# =====================================================
|
| 175 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 176 |
-
|
| 177 |
|
| 178 |
with gr.Row():
|
| 179 |
with gr.Column():
|
|
|
|
| 16 |
DOC_FILE = "general.md"
|
| 17 |
TTS_API_URL = os.getenv(
|
| 18 |
"TTS_API_URL",
|
| 19 |
+
"ETS"
|
| 20 |
)
|
| 21 |
+
print(TTS_API_URL)
|
| 22 |
MAX_NEW_TOKENS = 128
|
| 23 |
TOP_K = 3
|
| 24 |
|
|
|
|
| 173 |
# UI
|
| 174 |
# =====================================================
|
| 175 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 176 |
+
|
| 177 |
|
| 178 |
with gr.Row():
|
| 179 |
with gr.Column():
|