Update file_viewer_panel.py
Browse files- 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 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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)
|