Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -447,20 +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 |
with gr.Row():
|
| 451 |
-
gr.Markdown("# 🤖 AI Research Agent")
|
| 452 |
-
# Removed subtitle from here, can be added in description of Space if hosted on HF
|
| 453 |
-
|
| 454 |
-
|
| 455 |
-
|
| 456 |
-
with gr.Row(elem_classes="status-bar"):
|
| 457 |
with gr.Column(scale=3): agent_stat_tb = gr.Textbox(label="Agent Status", interactive=False, lines=1, value="Initializing systems...")
|
| 458 |
with gr.Column(scale=1): memory_backend_info_tb = gr.Textbox(label="Memory Backend", value=f"{MEMORY_STORAGE_BACKEND}", interactive=False)
|
| 459 |
sqlite_path_display = gr.Textbox(label="SQLite Path", value=f"{MEMORY_SQLITE_PATH}", interactive=False, visible=(MEMORY_STORAGE_BACKEND == "SQLITE"), scale=2) # Use visible
|
| 460 |
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
|
| 461 |
|
| 462 |
-
|
| 463 |
-
|
| 464 |
with gr.Row(scale=3): # Main content area to the right of sidebar
|
| 465 |
with gr.Tabs():
|
| 466 |
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 |
+
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.Row(scale=3): # Main content area to the right of sidebar
|
| 459 |
with gr.Tabs():
|
| 460 |
with gr.TabItem("💬 AI Chat & Research Output"):
|