Spaces:
Runtime error
Runtime error
Commit
·
76e72f0
1
Parent(s):
29bf882
Update app.py
Browse files
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
|
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"):
|