brurei commited on
Commit
50cc9b3
1 Parent(s): b2c1a2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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