Update app.py
Browse files
app.py
CHANGED
|
@@ -335,9 +335,9 @@ with gr.Blocks(title="Nymbo/Tools MCP", theme="Nymbo/Nymbo_Theme", css=CSS_STYLE
|
|
| 335 |
<section class="info-card">
|
| 336 |
<div class="info-card__icon">🔐</div>
|
| 337 |
<div class="info-card__body">
|
| 338 |
-
<h3>Enable Image
|
| 339 |
<p>
|
| 340 |
-
The <code>Generate_Image</code> and <code>
|
| 341 |
<code>HF_READ_TOKEN</code> set as a secret or environment variable.
|
| 342 |
</p>
|
| 343 |
<ul class="info-list">
|
|
@@ -353,13 +353,12 @@ with gr.Blocks(title="Nymbo/Tools MCP", theme="Nymbo/Nymbo_Theme", css=CSS_STYLE
|
|
| 353 |
<section class="info-card">
|
| 354 |
<div class="info-card__icon">🧠</div>
|
| 355 |
<div class="info-card__body">
|
| 356 |
-
<h3>Persistent Memories</h3>
|
| 357 |
<p>
|
| 358 |
-
In this public demo, memories are stored in the Space's running container and are cleared when the Space restarts.
|
| 359 |
-
Content is visible to everyone—avoid personal data.
|
| 360 |
</p>
|
| 361 |
<p>
|
| 362 |
-
When running locally, memories are saved to <code>memories.json</code> at the repo root for privacy.
|
| 363 |
</p>
|
| 364 |
</div>
|
| 365 |
</section>
|
|
@@ -381,6 +380,13 @@ with gr.Blocks(title="Nymbo/Tools MCP", theme="Nymbo/Nymbo_Theme", css=CSS_STYLE
|
|
| 381 |
}
|
| 382 |
}
|
| 383 |
}</code></pre>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 384 |
</div>
|
| 385 |
</section>
|
| 386 |
|
|
|
|
| 335 |
<section class="info-card">
|
| 336 |
<div class="info-card__icon">🔐</div>
|
| 337 |
<div class="info-card__body">
|
| 338 |
+
<h3>Enable Image Gen, Video Gen, and Deep Research</h3>
|
| 339 |
<p>
|
| 340 |
+
The <code>Generate_Image</code>, <code>Generate_Video</code>, and <code>Deep_Research</code> tools require a
|
| 341 |
<code>HF_READ_TOKEN</code> set as a secret or environment variable.
|
| 342 |
</p>
|
| 343 |
<ul class="info-list">
|
|
|
|
| 353 |
<section class="info-card">
|
| 354 |
<div class="info-card__icon">🧠</div>
|
| 355 |
<div class="info-card__body">
|
| 356 |
+
<h3>Persistent Memories and Files</h3>
|
| 357 |
<p>
|
| 358 |
+
In this public demo, memories and files created with the <code>Memory_Manager</code> and <code>File_System</code> are stored in the Space's running container and are cleared when the Space restarts. Content is visible to everyone—avoid personal data.
|
|
|
|
| 359 |
</p>
|
| 360 |
<p>
|
| 361 |
+
When running locally, memories are saved to <code>memories.json</code> at the repo root for privacy, and files are saved to the <code>Tools/Filesystem</code> directory on disk.
|
| 362 |
</p>
|
| 363 |
</div>
|
| 364 |
</section>
|
|
|
|
| 380 |
}
|
| 381 |
}
|
| 382 |
}</code></pre>
|
| 383 |
+
<p>Run the following commands in sequence to run the server locally:</p>
|
| 384 |
+
<pre><code>git clone https://huggingface.co/spaces/Nymbo/Tools
|
| 385 |
+
cd Tools
|
| 386 |
+
python -m venv env
|
| 387 |
+
source env/bin/activate
|
| 388 |
+
pip install -r requirements.txt
|
| 389 |
+
python app.py</code></pre>
|
| 390 |
</div>
|
| 391 |
</section>
|
| 392 |
|