added LLM - not working
Browse files
app.py
CHANGED
@@ -206,19 +206,6 @@ with gr.Blocks(
|
|
206 |
visible=True
|
207 |
)
|
208 |
|
209 |
-
gr.HTML("<p><b>Optional:</b> Have MyAlexa voice her last message.</p>")
|
210 |
-
|
211 |
-
repeat_button = gr.Button(
|
212 |
-
value="Repeat audio",
|
213 |
-
variant="secondary"
|
214 |
-
)
|
215 |
-
|
216 |
-
gr.HTML("<p><b>Optional:</b> Clear the chatbox.</p>")
|
217 |
-
|
218 |
-
clear = gr.ClearButton(
|
219 |
-
components=[chatbot],
|
220 |
-
value="Clear chat",
|
221 |
-
)
|
222 |
chat_msg = chat_input.change(add_message, [chatbot, chat_input], [chatbot])
|
223 |
bot_msg = chat_msg.then(bot, [chatbot, chat_input], chatbot, api_name="bot_response")
|
224 |
# bot_msg.then(lambda: gr.Textbox(interactive=False), None, [chat_input])
|
|
|
206 |
visible=True
|
207 |
)
|
208 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
chat_msg = chat_input.change(add_message, [chatbot, chat_input], [chatbot])
|
210 |
bot_msg = chat_msg.then(bot, [chatbot, chat_input], chatbot, api_name="bot_response")
|
211 |
# bot_msg.then(lambda: gr.Textbox(interactive=False), None, [chat_input])
|