Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,10 +54,8 @@ with gr.Blocks(title="MindsEye Sandbox Chat") as demo:
|
|
| 54 |
gr.Markdown("### System Persona")
|
| 55 |
gr.Markdown(f"```text\n{SYSTEM_PERSONA}\n```")
|
| 56 |
|
| 57 |
-
# No State needed: Chatbot holds history
|
| 58 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 59 |
clear.click(lambda: ("", []), None, [msg, chatbot])
|
| 60 |
|
| 61 |
if __name__ == "__main__":
|
| 62 |
demo.launch()
|
| 63 |
-
|
|
|
|
| 54 |
gr.Markdown("### System Persona")
|
| 55 |
gr.Markdown(f"```text\n{SYSTEM_PERSONA}\n```")
|
| 56 |
|
|
|
|
| 57 |
msg.submit(respond, [msg, chatbot], [msg, chatbot])
|
| 58 |
clear.click(lambda: ("", []), None, [msg, chatbot])
|
| 59 |
|
| 60 |
if __name__ == "__main__":
|
| 61 |
demo.launch()
|
|
|