Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -62,8 +62,7 @@ with gr.Blocks(css=css, title='Adega Hippo') as demo:
|
|
62 |
#clear = gr.Button("Limpar Conversa")
|
63 |
# gr.Audio(source="microphone", type="filepath",label="ESTÁ COM DIFICULDADES EM ESCREVER? CLIQUE E ME DIGA O QUE DESEJA")
|
64 |
def respond(message, chat_history):
|
65 |
-
|
66 |
-
chat_history.append((message+" e responda em português", chatbot(message)))
|
67 |
time.sleep(1)
|
68 |
|
69 |
return "", chat_history
|
|
|
62 |
#clear = gr.Button("Limpar Conversa")
|
63 |
# gr.Audio(source="microphone", type="filepath",label="ESTÁ COM DIFICULDADES EM ESCREVER? CLIQUE E ME DIGA O QUE DESEJA")
|
64 |
def respond(message, chat_history):
|
65 |
+
chat_history.append((message, chatbot(message)))
|
|
|
66 |
time.sleep(1)
|
67 |
|
68 |
return "", chat_history
|