ankban commited on
Commit
9ec6ecf
·
verified ·
1 Parent(s): d47ffc9

Update file_viewer_panel.py

Browse files
Files changed (1) hide show
  1. file_viewer_panel.py +8 -3
file_viewer_panel.py CHANGED
@@ -13,9 +13,14 @@ def file_viewer_dashboard(nickname_input):
13
 
14
  chat_output = gr.Chatbot()
15
 
16
- with gr.Row():
17
- chat_input = gr.Textbox(placeholder="Ask about the file...", label=None, lines=1)
18
- send_btn = gr.Button("📤", size="sm", elem_id="send-btn")
 
 
 
 
 
19
 
20
  btn_simplify = gr.Button("🧾 Simplify Content")
21
  simplified_box = gr.Textbox(label="📘 Simplified File Version", lines=15, interactive=False)
 
13
 
14
  chat_output = gr.Chatbot()
15
 
16
+ chat_input = gr.Textbox(
17
+ placeholder="Ask about the file... (press Enter or click 📤)",
18
+ label=None,
19
+ lines=1,
20
+ elem_id="chat-input",
21
+ )
22
+
23
+ send_btn = gr.Button("📤", size="sm", elem_id="chat-send-btn")
24
 
25
  btn_simplify = gr.Button("🧾 Simplify Content")
26
  simplified_box = gr.Textbox(label="📘 Simplified File Version", lines=15, interactive=False)