Pijush2023 commited on
Commit
823ee24
·
verified ·
1 Parent(s): d2205ee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -647,7 +647,7 @@ with gr.Blocks(theme='Pijush2023/scikit-learn-pijush') as demo:
647
  chat_msg = chat_input.submit(add_message, [chatbot, chat_input], [chatbot, chat_input],api_name="voice_query")
648
  tts_choice = gr.Radio(label="Select TTS System", choices=["Eleven Labs", "Parler-TTS", "MARS5"], value="Eleven Labs")
649
  bot_msg = chat_msg.then(bot, [chatbot, choice, tts_choice], [chatbot, gr.Audio(interactive=False, autoplay=True)])
650
- bot_msg.then(lambda: gr.Textbox(value="", interactive=True, placeholder="Ask Radar!!!...", show_label=False), None, [chat_input]")
651
  chatbot.like(print_like_dislike, None, None)
652
  clear_button = gr.Button("Clear")
653
  clear_button.click(fn=clear_textbox, inputs=None, outputs=chat_input)
 
647
  chat_msg = chat_input.submit(add_message, [chatbot, chat_input], [chatbot, chat_input],api_name="voice_query")
648
  tts_choice = gr.Radio(label="Select TTS System", choices=["Eleven Labs", "Parler-TTS", "MARS5"], value="Eleven Labs")
649
  bot_msg = chat_msg.then(bot, [chatbot, choice, tts_choice], [chatbot, gr.Audio(interactive=False, autoplay=True)])
650
+ bot_msg.then(lambda: gr.Textbox(value="", interactive=True, placeholder="Ask Radar!!!...", show_label=False), None, [chat_input])
651
  chatbot.like(print_like_dislike, None, None)
652
  clear_button = gr.Button("Clear")
653
  clear_button.click(fn=clear_textbox, inputs=None, outputs=chat_input)