Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,13 +48,13 @@ header {display: none !important;}
|
|
| 48 |
}
|
| 49 |
"""
|
| 50 |
|
|
|
|
| 51 |
with gr.Blocks(title="Axon Trinity") as demo:
|
| 52 |
gr.Markdown("# ⚔️ AXON: QWEN TRINITY")
|
| 53 |
gr.Markdown("*> Pipeline: Gemini (Plan) ➔ Qwen 3 (Code) ➔ Llama 3.3 (Refine)*")
|
| 54 |
|
| 55 |
with gr.Row():
|
| 56 |
with gr.Column(scale=4):
|
| 57 |
-
# FIXED: Removed type="messages"
|
| 58 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
| 59 |
|
| 60 |
with gr.Column(scale=1):
|
|
@@ -68,5 +68,4 @@ with gr.Blocks(title="Axon Trinity") as demo:
|
|
| 68 |
msg.submit(chat_logic, [msg, chatbot, mode], [chatbot, msg])
|
| 69 |
|
| 70 |
if __name__ == "__main__":
|
| 71 |
-
# CSS moved here to fix the warning
|
| 72 |
demo.launch(css=custom_css)
|
|
|
|
| 48 |
}
|
| 49 |
"""
|
| 50 |
|
| 51 |
+
# NOTE: Removed type="messages" from Chatbot to fix the crash
|
| 52 |
with gr.Blocks(title="Axon Trinity") as demo:
|
| 53 |
gr.Markdown("# ⚔️ AXON: QWEN TRINITY")
|
| 54 |
gr.Markdown("*> Pipeline: Gemini (Plan) ➔ Qwen 3 (Code) ➔ Llama 3.3 (Refine)*")
|
| 55 |
|
| 56 |
with gr.Row():
|
| 57 |
with gr.Column(scale=4):
|
|
|
|
| 58 |
chatbot = gr.Chatbot(elem_id="chatbot")
|
| 59 |
|
| 60 |
with gr.Column(scale=1):
|
|
|
|
| 68 |
msg.submit(chat_logic, [msg, chatbot, mode], [chatbot, msg])
|
| 69 |
|
| 70 |
if __name__ == "__main__":
|
|
|
|
| 71 |
demo.launch(css=custom_css)
|