Antoine245 commited on
Commit
5572819
·
1 Parent(s): a9f4cd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ with gr.Blocks() as demo:
35
  return gr.update(value="", interactive=False), history + [[user_message,None]]
36
  def bot(history):
37
  # chat_history.append(message) # Initialize chat history
38
- history[-1][1] = ""
39
  bot_message = palm.chat(
40
  context=context,
41
  examples=examples,
 
35
  return gr.update(value="", interactive=False), history + [[user_message,None]]
36
  def bot(history):
37
  # chat_history.append(message) # Initialize chat history
38
+ history[-1][1] = " "
39
  bot_message = palm.chat(
40
  context=context,
41
  examples=examples,