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,8 +16,8 @@ MODEL_ID = "Qwen/Qwen2.5-0.5B-Instruct"
|
|
| 16 |
DOC_FILE_EN = "general.md"
|
| 17 |
DOC_FILE_HI = "general-hi.md"
|
| 18 |
TTS_API_URL = os.getenv(
|
| 19 |
-
"TTS_API_URL"
|
| 20 |
-
|
| 21 |
)
|
| 22 |
MAX_NEW_TOKENS = 128
|
| 23 |
TOP_K = 3
|
|
@@ -174,7 +174,7 @@ def run_pipeline(question: str, language_id: str):
|
|
| 174 |
# GRADIO UI
|
| 175 |
# =====================================================
|
| 176 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 177 |
-
|
| 178 |
|
| 179 |
with gr.Row():
|
| 180 |
with gr.Column(scale=1):
|
|
|
|
| 16 |
DOC_FILE_EN = "general.md"
|
| 17 |
DOC_FILE_HI = "general-hi.md"
|
| 18 |
TTS_API_URL = os.getenv(
|
| 19 |
+
"TTS_API_URL"
|
| 20 |
+
|
| 21 |
)
|
| 22 |
MAX_NEW_TOKENS = 128
|
| 23 |
TOP_K = 3
|
|
|
|
| 174 |
# GRADIO UI
|
| 175 |
# =====================================================
|
| 176 |
with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
| 177 |
+
|
| 178 |
|
| 179 |
with gr.Row():
|
| 180 |
with gr.Column(scale=1):
|