Spaces:
Running
on
Zero
Running
on
Zero
jedick
commited on
Commit
Β·
d679560
1
Parent(s):
efe8fd9
Update db for Nov 2025
Browse files
app.py
CHANGED
|
@@ -396,7 +396,7 @@ with gr.Blocks(
|
|
| 396 |
**Chat with the [R-help mailing list archives](https://stat.ethz.ch/pipermail/r-help/).**
|
| 397 |
An LLM turns your question into a search query, including year ranges and months, and generates an answer from the retrieved emails.
|
| 398 |
You can ask follow-up questions with the chat history as context.
|
| 399 |
-
|
| 400 |
"""
|
| 401 |
return intro
|
| 402 |
|
|
|
|
| 396 |
**Chat with the [R-help mailing list archives](https://stat.ethz.ch/pipermail/r-help/).**
|
| 397 |
An LLM turns your question into a search query, including year ranges and months, and generates an answer from the retrieved emails.
|
| 398 |
You can ask follow-up questions with the chat history as context.
|
| 399 |
+
*To clear the history and start a new chat, press the clear button* (π).
|
| 400 |
"""
|
| 401 |
return intro
|
| 402 |
|
data.py
CHANGED
|
@@ -47,7 +47,7 @@ def download_data():
|
|
| 47 |
# For S3 (need AWS_ACCESS_KEY_ID and AWS_ACCESS_KEY_SECRET)
|
| 48 |
# db_20250801.zip: chromadb==1.0.13
|
| 49 |
# db_20250801a.zip: chromadb==0.6.3
|
| 50 |
-
download_file_from_bucket("r-help-chat", "
|
| 51 |
## For Dropbox (shared file - key is in URL)
|
| 52 |
# shared_link = "https://www.dropbox.com/scl/fi/jx90g5lorpgkkyyzeurtc/db.zip?rlkey=wvqa3p9hdy4rmod1r8yf2am09&st=l9tsam56&dl=0"
|
| 53 |
# output_filename = "db.zip"
|
|
|
|
| 47 |
# For S3 (need AWS_ACCESS_KEY_ID and AWS_ACCESS_KEY_SECRET)
|
| 48 |
# db_20250801.zip: chromadb==1.0.13
|
| 49 |
# db_20250801a.zip: chromadb==0.6.3
|
| 50 |
+
download_file_from_bucket("r-help-chat", "db_20251204.zip", "db.zip")
|
| 51 |
## For Dropbox (shared file - key is in URL)
|
| 52 |
# shared_link = "https://www.dropbox.com/scl/fi/jx90g5lorpgkkyyzeurtc/db.zip?rlkey=wvqa3p9hdy4rmod1r8yf2am09&st=l9tsam56&dl=0"
|
| 53 |
# output_filename = "db.zip"
|