Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,5 +54,9 @@ chat_history = [
|
|
54 |
window = gr.Interface(title="History", fn=lambda: chat_history, inputs=None, outputs=chat_history, live=True).launch(share=True)
|
55 |
# Print out the chat history
|
56 |
print("Chat History:")
|
|
|
57 |
for message in chat_history:
|
58 |
-
print(f"{message[0]}: {message[1]}")
|
|
|
|
|
|
|
|
54 |
window = gr.Interface(title="History", fn=lambda: chat_history, inputs=None, outputs=chat_history, live=True).launch(share=True)
|
55 |
# Print out the chat history
|
56 |
print("Chat History:")
|
57 |
+
|
58 |
for message in chat_history:
|
59 |
+
print(f"{message[0]}: {message[1]}")
|
60 |
+
|
61 |
+
window.launch()
|
62 |
+
|