broadfield-dev commited on
Commit
8e8739e
·
verified ·
1 Parent(s): 511c8fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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, visible=(MEMORY_STORAGE_BACKEND == "SQLITE"), scale=2) # Use visible
456
- hf_repos_display = gr.Textbox(label="HF Repos", value=f"M: {MEMORY_HF_MEM_REPO}, R: {MEMORY_HF_RULES_REPO}", interactive=False, visible=(MEMORY_STORAGE_BACKEND == "HF_DATASET"), scale=2) # Use visible
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"):