umangchaudhry commited on
Commit
76e72f0
·
1 Parent(s): 29bf882

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ def respond(message, chat_history):
40
  bot_message = qa({"question": message, "chat_history": chat_history})
41
  chat_history = [(message, bot_message["answer"])]
42
  time.sleep(1)
43
- return "", chat_history
44
 
45
  with gr.Blocks() as demo:
46
  with gr.Tab("OpenAI API Key Submission"):
 
40
  bot_message = qa({"question": message, "chat_history": chat_history})
41
  chat_history = [(message, bot_message["answer"])]
42
  time.sleep(1)
43
+ return chat_history
44
 
45
  with gr.Blocks() as demo:
46
  with gr.Tab("OpenAI API Key Submission"):