Spaces:
Runtime error
Runtime error
Commit
•
f2b70d1
1
Parent(s):
9ae78a1
Adding more information for beginners
Browse files
app.py
CHANGED
@@ -24,12 +24,31 @@ WEBHOOK_SECRET = os.getenv("HF_WEBHOOK_SECRET", 'secret')
|
|
24 |
|
25 |
intro_md = """
|
26 |
# Processing BORU
|
|
|
27 |
This space is triggered by a webhook for changes on
|
28 |
[derek-thomas/dataset-creator-reddit-bestofredditorupdates](https://huggingface.co/datasets/derek-thomas/dataset-creator-reddit-bestofredditorupdates).
|
29 |
It then takes the updates from that dataset and get embeddings and puts the results in
|
30 |
[https://huggingface.co/datasets/derek-thomas/reddit-bestofredditorupdates-processed](https://huggingface.co/datasets/derek-thomas/reddit-bestofredditorupdates-processed)
|
31 |
|
32 |
Check out the original on [Nomic](https://atlas.nomic.ai/data/derek2/boru-subreddit-neural-search/map)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
"""
|
34 |
|
35 |
url = "https://atlas.nomic.ai/data/derek2/boru-subreddit-neural-search/map/cdd8c890-2fac-4ea6-91f8-e6821203cfcb"
|
|
|
24 |
|
25 |
intro_md = """
|
26 |
# Processing BORU
|
27 |
+
## Creation Details
|
28 |
This space is triggered by a webhook for changes on
|
29 |
[derek-thomas/dataset-creator-reddit-bestofredditorupdates](https://huggingface.co/datasets/derek-thomas/dataset-creator-reddit-bestofredditorupdates).
|
30 |
It then takes the updates from that dataset and get embeddings and puts the results in
|
31 |
[https://huggingface.co/datasets/derek-thomas/reddit-bestofredditorupdates-processed](https://huggingface.co/datasets/derek-thomas/reddit-bestofredditorupdates-processed)
|
32 |
|
33 |
Check out the original on [Nomic](https://atlas.nomic.ai/data/derek2/boru-subreddit-neural-search/map)
|
34 |
+
|
35 |
+
## What is this for beginners?
|
36 |
+
This is a space to visually search the subreddit /r/bestofredditorupdates. Have you ever been curious to search for stories
|
37 |
+
that are similar to one of your favorites? This can help!
|
38 |
+
|
39 |
+
- Each dot represents a post (try clicking on one)
|
40 |
+
- Closer dots are similar in topic
|
41 |
+
- Use the filters on the left to help you narrow down what you are looking for
|
42 |
+
- The lasso can help you search in a smaller range that you drag with your mouse
|
43 |
+
- The filter can help you narrow by field,
|
44 |
+
- Filtering posts that are `CONCLUDED`
|
45 |
+
- Filtering popular posts
|
46 |
+
- Filtering by date
|
47 |
+
- The search can help you look by keyword
|
48 |
+
|
49 |
+
## Todo
|
50 |
+
- Ignore the colors for now, I need to clean that up :)
|
51 |
+
- I need to integrate with Nomic's semantic search
|
52 |
"""
|
53 |
|
54 |
url = "https://atlas.nomic.ai/data/derek2/boru-subreddit-neural-search/map/cdd8c890-2fac-4ea6-91f8-e6821203cfcb"
|