Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -447,13 +447,14 @@ with gr.Blocks(title="AI Research Agent v5.8") as demo:
|
|
447 |
sys_prompt_tb = gr.Textbox(label="System Prompt Base", lines=10, value=DEFAULT_SYSTEM_PROMPT, interactive=True)
|
448 |
if MEMORY_STORAGE_BACKEND == "RAM":
|
449 |
save_faiss_sidebar_btn = gr.Button("Save FAISS Indices", variant="secondary")
|
|
|
450 |
gr.Markdown("# 🤖 AI Research Agent")
|
451 |
# Removed subtitle from here, can be added in description of Space if hosted on HF
|
452 |
with gr.Row():
|
453 |
with gr.Column(scale=3): agent_stat_tb = gr.Textbox(label="Agent Status", interactive=False, lines=1, value="Initializing systems...")
|
454 |
with gr.Column(scale=1): memory_backend_info_tb = gr.Textbox(label="Memory Backend", value=f"{MEMORY_STORAGE_BACKEND}", interactive=False)
|
455 |
-
sqlite_path_display = gr.Textbox(label="SQLite Path", value=f"{MEMORY_SQLITE_PATH}", interactive=False,
|
456 |
-
hf_repos_display = gr.Textbox(label="HF Repos", value=f"M: {MEMORY_HF_MEM_REPO}, R: {MEMORY_HF_RULES_REPO}", interactive=False,
|
457 |
|
458 |
with gr.Tabs():
|
459 |
with gr.TabItem("💬 AI Chat & Research Output"):
|
|
|
447 |
sys_prompt_tb = gr.Textbox(label="System Prompt Base", lines=10, value=DEFAULT_SYSTEM_PROMPT, interactive=True)
|
448 |
if MEMORY_STORAGE_BACKEND == "RAM":
|
449 |
save_faiss_sidebar_btn = gr.Button("Save FAISS Indices", variant="secondary")
|
450 |
+
with gr.Column():
|
451 |
gr.Markdown("# 🤖 AI Research Agent")
|
452 |
# Removed subtitle from here, can be added in description of Space if hosted on HF
|
453 |
with gr.Row():
|
454 |
with gr.Column(scale=3): agent_stat_tb = gr.Textbox(label="Agent Status", interactive=False, lines=1, value="Initializing systems...")
|
455 |
with gr.Column(scale=1): memory_backend_info_tb = gr.Textbox(label="Memory Backend", value=f"{MEMORY_STORAGE_BACKEND}", interactive=False)
|
456 |
+
sqlite_path_display = gr.Textbox(label="SQLite Path", value=f"{MEMORY_SQLITE_PATH}", interactive=False, scale=2) # Use visible
|
457 |
+
hf_repos_display = gr.Textbox(label="HF Repos", value=f"M: {MEMORY_HF_MEM_REPO}, R: {MEMORY_HF_RULES_REPO}", interactive=False, scale=2) # Use visible
|
458 |
|
459 |
with gr.Tabs():
|
460 |
with gr.TabItem("💬 AI Chat & Research Output"):
|