Nymbo commited on
Commit
964c38f
·
verified ·
1 Parent(s): 40809f9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -3,7 +3,7 @@
3
  # 2) DuckDuckGo Search — compact JSONL search output (short keys to minimize tokens)
4
  # 3) Python Code Executor — run Python code and capture stdout/errors
5
  # 4) Kokoro TTS — synthesize speech from text using Kokoro-82M with 54 voice options
6
- # 5) Memory Manager — lightweight JSON-based local memory store (requires HF_READ_TOKEN)
7
  # 6) Image Generation - HF serverless inference providers (requires HF_READ_TOKEN)
8
  # 7) Video Generation - HF serverless inference providers (requires HF_READ_TOKEN)
9
 
@@ -1067,7 +1067,7 @@ CSS_STYLES = """
1067
  }
1068
  .gradio-container h1::after {
1069
  grid-row: 3;
1070
- content: "Authentication is optional. Image/Video generation require an HF token to function and may be hidden from MCP tools without one — but UI tabs remain visible. Memory is intended for local use and may be hidden from MCP tools.";
1071
  display: block;
1072
  font-size: 1rem;
1073
  font-weight: 400;
@@ -1214,8 +1214,6 @@ memory_interface = gr.Interface(
1214
  "Use Memory_Manager whenever you are given information worth remembering about the user, and search for memories when relevant."
1215
  ),
1216
  flagging_mode="never",
1217
- # Always visible in the UI, but only exposed as an MCP tool when HF token is present
1218
- show_api=bool(os.getenv("HF_READ_TOKEN")),
1219
  )
1220
 
1221
  # ==========================
 
3
  # 2) DuckDuckGo Search — compact JSONL search output (short keys to minimize tokens)
4
  # 3) Python Code Executor — run Python code and capture stdout/errors
5
  # 4) Kokoro TTS — synthesize speech from text using Kokoro-82M with 54 voice options
6
+ # 5) Memory Manager — lightweight JSON-based local memory store
7
  # 6) Image Generation - HF serverless inference providers (requires HF_READ_TOKEN)
8
  # 7) Video Generation - HF serverless inference providers (requires HF_READ_TOKEN)
9
 
 
1067
  }
1068
  .gradio-container h1::after {
1069
  grid-row: 3;
1070
+ content: "Authentication is optional. Image/Video generation require an HF token to function and may be hidden from MCP tools without one — but UI tabs remain visible. Memory Manager does not require a token and is available in UI and MCP.";
1071
  display: block;
1072
  font-size: 1rem;
1073
  font-weight: 400;
 
1214
  "Use Memory_Manager whenever you are given information worth remembering about the user, and search for memories when relevant."
1215
  ),
1216
  flagging_mode="never",
 
 
1217
  )
1218
 
1219
  # ==========================