rahul7star commited on
Commit
5bd895e
·
verified ·
1 Parent(s): 833936d

Update app_qwen_tts_fast.py

Browse files
Files changed (1) hide show
  1. app_qwen_tts_fast.py +2 -9
app_qwen_tts_fast.py CHANGED
@@ -204,11 +204,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
204
  lambda: ("What does OhamLab AI do?", "en"),
205
  outputs=[user_input, language_dropdown]
206
  )
207
- gr.Button("Where is OhamLab located?").click(
208
- lambda: ("Where is OhamLab located?", "en"),
209
- outputs=[user_input, language_dropdown]
210
- )
211
-
212
  with gr.Tab("Hindi"):
213
  gr.Button("ओहमलैब के सीईओ कौन हैं?").click(
214
  lambda: ("ओहमलैब के सीईओ कौन हैं?", "hi"),
@@ -218,10 +214,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
218
  lambda: ("ओहमलैब एआई क्या करता है?", "hi"),
219
  outputs=[user_input, language_dropdown]
220
  )
221
- gr.Button("ओहमलैब कहाँ स्थित है?").click(
222
- lambda: ("ओहमलैब कहाँ स्थित है?", "hi"),
223
- outputs=[user_input, language_dropdown]
224
- )
225
 
226
  with gr.Column(scale=1):
227
  answer_text = gr.Markdown()
 
204
  lambda: ("What does OhamLab AI do?", "en"),
205
  outputs=[user_input, language_dropdown]
206
  )
207
+
 
 
 
 
208
  with gr.Tab("Hindi"):
209
  gr.Button("ओहमलैब के सीईओ कौन हैं?").click(
210
  lambda: ("ओहमलैब के सीईओ कौन हैं?", "hi"),
 
214
  lambda: ("ओहमलैब एआई क्या करता है?", "hi"),
215
  outputs=[user_input, language_dropdown]
216
  )
217
+
 
 
 
218
 
219
  with gr.Column(scale=1):
220
  answer_text = gr.Markdown()