ysharma HF staff commited on
Commit
7b3413b
1 Parent(s): 22db94b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,7 +160,7 @@ demo = gr.Blocks()
160
  with demo:
161
  gr.Markdown("<h1><center>Talk to Your Multilingual AI Assistant</center></h1>")
162
  gr.Markdown(
163
- """Model pipeline consisting of - Whisper for Speech-to-text, Bloom for Text-generation, andd CoquiTTS for Text-To-Speech. <br> Front end using Gradio Block API.
164
  """)
165
  with gr.Row():
166
  with gr.Column():
@@ -173,7 +173,7 @@ with demo:
173
  out_generated_text = gr.Textbox(label= 'AI response to your query in your preferred language using Bloom! ')
174
  out_generated_text_en = gr.Textbox(label= 'AI response to your query in English using Bloom! ')
175
 
176
- b1.click(driver_fun,inputs=[in_audio], outputs=[out_transcript, out_translation_en, out_generated_text,out_generated_text, out_audio])
177
 
178
  demo.launch(enable_queue=True, debug=True)
179
 
 
160
  with demo:
161
  gr.Markdown("<h1><center>Talk to Your Multilingual AI Assistant</center></h1>")
162
  gr.Markdown(
163
+ """Model pipeline consisting of - <br>- **Whisper** for Speech-to-text, <br>- **Bloom** for Text-generation, and <br>- **CoquiTTS** for Text-To-Speech. <br><br> Front end is built using **Gradio Block API**.
164
  """)
165
  with gr.Row():
166
  with gr.Column():
 
173
  out_generated_text = gr.Textbox(label= 'AI response to your query in your preferred language using Bloom! ')
174
  out_generated_text_en = gr.Textbox(label= 'AI response to your query in English using Bloom! ')
175
 
176
+ b1.click(driver_fun,inputs=[in_audio], outputs=[out_transcript, out_translation_en, out_generated_text,out_generated_text_en, out_audio])
177
 
178
  demo.launch(enable_queue=True, debug=True)
179