ysharma HF Staff commited on
Commit
a46b86f
·
1 Parent(s): 7ebf7cd
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -110,7 +110,7 @@ demo = gr.Blocks()
110
  with demo:
111
  gr.Markdown("<h1><center>AI Assistant - Voice to Joke</center></h1>")
112
  gr.Markdown(
113
- """This is still a work in porgress<br><br>**"Hey Whisper can you tell me a joke on X please?"** X = <anything you would wish>
114
  """)
115
  with gr.Row():
116
  with gr.Column():
@@ -126,7 +126,7 @@ with demo:
126
  b1.click(driver_fun,inputs=[in_audio], outputs=[out_transcript, out_generated_joke, out_audio]) #out_translation_en, out_generated_text,out_generated_text_en,
127
  with gr.Row():
128
  gr.Markdown(
129
- """Model pipeline consisting of - <br>- [**Whisper**](https://github.com/openai/whisper) for Speech-to-text, <br>- [**CoquiTTS**](https://huggingface.co/coqui) for Text-To-Speech.<br>- [Sentence Transformers](https://huggingface.co/models?library=sentence-transformers&sort=downloads)<br>- Front end is built using [**Gradio Block API**](https://gradio.app/docs/#blocks).<br><be>If you want to reuse the App, simply click on the small cross button in the top right corner of your voice record panel, and then press record again!
130
  """)
131
 
132
  demo.launch(enable_queue=True, debug=True)
 
110
  with demo:
111
  gr.Markdown("<h1><center>AI Assistant - Voice to Joke</center></h1>")
112
  gr.Markdown(
113
+ """<i>**"Hey Whisper can you tell me a joke on X please?"**</i>, X = anything you would wish.
114
  """)
115
  with gr.Row():
116
  with gr.Column():
 
126
  b1.click(driver_fun,inputs=[in_audio], outputs=[out_transcript, out_generated_joke, out_audio]) #out_translation_en, out_generated_text,out_generated_text_en,
127
  with gr.Row():
128
  gr.Markdown(
129
+ """Model pipeline consisting of - <br>- [**Whisper**](https://github.com/openai/whisper) for Speech-to-text, <br>- [**CoquiTTS**](https://huggingface.co/coqui) for Text-To-Speech.<br>- [Sentence Transformers](https://huggingface.co/models?library=sentence-transformers&sort=downloads)<br>- Front end is built using [**Gradio Block API**](https://gradio.app/docs/#blocks).<br><be>If you want to reuse the App, simply click on the small cross button in the top right corner of your voice record panel, and then press record again! <br><br> Few Caveats:<br>1. Please note that sometimes the joke might be NSFW. Although, I have tried putting in filters to not have that experience, but they seem non-exhaustive.<br>2. Sometimes the joke might not match your theme, please bear with the limited capabilities of free open-source ML prototypes.<br>3. Much like real life, sometimes the joke might just not land, haha!<br>4. if you see the message 'Error in model inference - Run Again Please', just press the button again!
130
  """)
131
 
132
  demo.launch(enable_queue=True, debug=True)