Update app.py
Browse files
app.py
CHANGED
@@ -125,7 +125,8 @@ def bot(history,message):
|
|
125 |
"""
|
126 |
Prints the LLM's response in the chatbot
|
127 |
"""
|
128 |
-
response = bot_response(message)
|
|
|
129 |
history[-1][1] = ""
|
130 |
for character in response:
|
131 |
history[-1][1] += character
|
@@ -202,7 +203,7 @@ with gr.Blocks(
|
|
202 |
interactive=False,
|
203 |
placeholder="Enter message",
|
204 |
elem_id="chat_input",
|
205 |
-
visible=
|
206 |
)
|
207 |
|
208 |
gr.HTML("<p><b>Optional:</b> Have MyAlexa voice her last message.</p>")
|
|
|
125 |
"""
|
126 |
Prints the LLM's response in the chatbot
|
127 |
"""
|
128 |
+
#response = bot_response(message)
|
129 |
+
response = "bot_response(message)"
|
130 |
history[-1][1] = ""
|
131 |
for character in response:
|
132 |
history[-1][1] += character
|
|
|
203 |
interactive=False,
|
204 |
placeholder="Enter message",
|
205 |
elem_id="chat_input",
|
206 |
+
visible=True
|
207 |
)
|
208 |
|
209 |
gr.HTML("<p><b>Optional:</b> Have MyAlexa voice her last message.</p>")
|