clementrof commited on
Commit
1216ce9
·
verified ·
1 Parent(s): 45adf2f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app5.py +2 -1
app5.py CHANGED
@@ -178,7 +178,7 @@ with gr.Blocks() as demo:
178
  bot_message = Chat_call(message,prompt)
179
  chat_history.append((message, bot_message))
180
  time.sleep(2)
181
- return "", chat_history,""
182
 
183
  msg.submit(respond, [msg, chatbot, prompt], [msg, chatbot, prompt])
184
 
@@ -186,6 +186,7 @@ with gr.Blocks() as demo:
186
  clear.click(lambda: clear_button_callback())
187
 
188
 
 
189
  if __name__ == "__main__":
190
  demo.launch()
191
 
 
178
  bot_message = Chat_call(message,prompt)
179
  chat_history.append((message, bot_message))
180
  time.sleep(2)
181
+ return "", chat_history,prompt
182
 
183
  msg.submit(respond, [msg, chatbot, prompt], [msg, chatbot, prompt])
184
 
 
186
  clear.click(lambda: clear_button_callback())
187
 
188
 
189
+
190
  if __name__ == "__main__":
191
  demo.launch()
192