redhairedshanks1 commited on
Commit
2eb5a6d
·
1 Parent(s): ffafd0f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -1
app.py CHANGED
@@ -457,9 +457,20 @@ with gr.Blocks(title="MasterLLM v2.0 - AI Pipeline Orchestrator") as demo:
457
  """)
458
 
459
  # State management
 
 
 
 
 
 
 
 
 
 
 
 
460
  lines=2,
461
  max_lines=4,
462
- container=False,
463
  )
464
 
465
  with gr.Row():
 
457
  """)
458
 
459
  # State management
460
+ session_id_state = gr.State(value=create_new_session())
461
+ file_state = gr.State(value=None)
462
+
463
+ with gr.Row():
464
+ with gr.Column(scale=3):
465
+ # Chat interface (simplified for older Gradio)
466
+ chatbot = gr.Chatbot(label="Chat")
467
+
468
+ # Text input
469
+ msg = gr.Textbox(
470
+ placeholder="💬 Type your instruction... (e.g., 'extract text from pages 1-5 and summarize')",
471
+ label="Your Message",
472
  lines=2,
473
  max_lines=4,
 
474
  )
475
 
476
  with gr.Row():