Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,10 +8,12 @@ import re
|
|
| 8 |
import time
|
| 9 |
import zipfile
|
| 10 |
import shutil
|
|
|
|
| 11 |
|
| 12 |
"""
|
| 13 |
Clawdbot Unified Command Center
|
| 14 |
-
GOLDEN COPY [2026-02-
|
|
|
|
| 15 |
INTEGRATED: Polyglot Tool Parser, Retry Logic, Zip Extraction, and Safe Agent Loop.
|
| 16 |
"""
|
| 17 |
|
|
@@ -373,7 +375,8 @@ with gr.Blocks(title="🦞 Clawdbot") as demo:
|
|
| 373 |
btn_ref = gr.Button("🔄")
|
| 374 |
file_in = gr.File(label="Upload", file_count="multiple")
|
| 375 |
with gr.Column(scale=4):
|
| 376 |
-
|
|
|
|
| 377 |
with gr.Row():
|
| 378 |
txt = gr.Textbox(scale=6, placeholder="Prompt...")
|
| 379 |
btn_send = gr.Button("Send", scale=1)
|
|
|
|
| 8 |
import time
|
| 9 |
import zipfile
|
| 10 |
import shutil
|
| 11 |
+
import traceback
|
| 12 |
|
| 13 |
"""
|
| 14 |
Clawdbot Unified Command Center
|
| 15 |
+
GOLDEN COPY [2026-02-03 - Gemini]
|
| 16 |
+
FIXED: Removed 'type="messages"' (Gradio 6 compatibility fix).
|
| 17 |
INTEGRATED: Polyglot Tool Parser, Retry Logic, Zip Extraction, and Safe Agent Loop.
|
| 18 |
"""
|
| 19 |
|
|
|
|
| 375 |
btn_ref = gr.Button("🔄")
|
| 376 |
file_in = gr.File(label="Upload", file_count="multiple")
|
| 377 |
with gr.Column(scale=4):
|
| 378 |
+
# FIX: Removed 'type="messages"' as Gradio 6.x defaults to this and removed the arg
|
| 379 |
+
chat = gr.Chatbot(height=600, avatar_images=(None, "https://em-content.zobj.net/source/twitter/408/lobster_1f99e.png"))
|
| 380 |
with gr.Row():
|
| 381 |
txt = gr.Textbox(scale=6, placeholder="Prompt...")
|
| 382 |
btn_send = gr.Button("Send", scale=1)
|