Commit
·
234acaf
1
Parent(s):
5eca0b2
fix: examples
Browse files- app.py +2 -2
- examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġa.png +0 -3
- examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġdog.png +0 -3
- examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġstreet.png +0 -3
- examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġthe.png +0 -3
- examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwalking.png +0 -3
- examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwith.png +0 -3
- examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmaps.json +0 -0
- examples/auto_a_person_walking_down_the_stre_20250702_152111/img_url.txt +0 -1
- examples/auto_a_person_walking_down_the_stre_20250702_152111/prompt.txt +0 -1
- examples/{auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġdown.png → auto_jobs_in_bangladesh_20250703_104007/heatmap_ladesh.png} +2 -2
- examples/{auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġperson.png → auto_jobs_in_bangladesh_20250703_104007/heatmap_ġbang.png} +2 -2
- examples/auto_jobs_in_bangladesh_20250703_104007/heatmap_ġin.png +3 -0
- examples/auto_jobs_in_bangladesh_20250703_104007/heatmap_ġjobs.png +3 -0
- examples/auto_jobs_in_bangladesh_20250703_104007/heatmaps.json +0 -0
- examples/{auto_a_person_walking_down_the_stre_20250702_152111 → auto_jobs_in_bangladesh_20250703_104007}/image.jpg +2 -2
- examples/auto_jobs_in_bangladesh_20250703_104007/img_url.txt +1 -0
- examples/{auto_a_person_walking_down_the_stre_20250702_152111 → auto_jobs_in_bangladesh_20250703_104007}/preview_first_token.jpg +2 -2
- examples/auto_jobs_in_bangladesh_20250703_104007/prompt.txt +1 -0
app.py
CHANGED
|
@@ -81,7 +81,7 @@ def save_run(prompt: str, url: str, img: Image.Image, maps: Dict[str, str]) -> N
|
|
| 81 |
|
| 82 |
# ───────── load mapper ─────────
|
| 83 |
print("⏳ Loading JinaV4SimilarityMapper …", flush=True)
|
| 84 |
-
MAPPER = JinaV4SimilarityMapper(client_type="
|
| 85 |
print("✅ Mapper ready.", flush=True)
|
| 86 |
|
| 87 |
# ───────── load up to 3 example folders ─────────
|
|
@@ -178,4 +178,4 @@ def _shutdown(*_): print("🛑 Shutting down …", flush=True); demo.close(); sy
|
|
| 178 |
signal.signal(signal.SIGINT, _shutdown); signal.signal(signal.SIGTERM, _shutdown)
|
| 179 |
|
| 180 |
if __name__ == "__main__":
|
| 181 |
-
demo.launch(server_name="0.0.0.0", server_port=7860, show_error=True)
|
|
|
|
| 81 |
|
| 82 |
# ───────── load mapper ─────────
|
| 83 |
print("⏳ Loading JinaV4SimilarityMapper …", flush=True)
|
| 84 |
+
MAPPER = JinaV4SimilarityMapper(client_type="web")
|
| 85 |
print("✅ Mapper ready.", flush=True)
|
| 86 |
|
| 87 |
# ───────── load up to 3 example folders ─────────
|
|
|
|
| 178 |
signal.signal(signal.SIGINT, _shutdown); signal.signal(signal.SIGTERM, _shutdown)
|
| 179 |
|
| 180 |
if __name__ == "__main__":
|
| 181 |
+
demo.launch(server_name="0.0.0.0", server_port=7860, show_error=True, share=False)
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġa.png
DELETED
Git LFS Details
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġdog.png
DELETED
Git LFS Details
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġstreet.png
DELETED
Git LFS Details
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġthe.png
DELETED
Git LFS Details
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwalking.png
DELETED
Git LFS Details
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwith.png
DELETED
Git LFS Details
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmaps.json
DELETED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/img_url.txt
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
https://www.dogingtonpost.com/wp-content/uploads/2014/04/walkingthedog2.jpg
|
|
|
|
|
|
examples/auto_a_person_walking_down_the_stre_20250702_152111/prompt.txt
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
A person walking down the street with a dog
|
|
|
|
|
|
examples/{auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġdown.png → auto_jobs_in_bangladesh_20250703_104007/heatmap_ladesh.png}
RENAMED
|
File without changes
|
examples/{auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġperson.png → auto_jobs_in_bangladesh_20250703_104007/heatmap_ġbang.png}
RENAMED
|
File without changes
|
examples/auto_jobs_in_bangladesh_20250703_104007/heatmap_ġin.png
ADDED
|
Git LFS Details
|
examples/auto_jobs_in_bangladesh_20250703_104007/heatmap_ġjobs.png
ADDED
|
Git LFS Details
|
examples/auto_jobs_in_bangladesh_20250703_104007/heatmaps.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
examples/{auto_a_person_walking_down_the_stre_20250702_152111 → auto_jobs_in_bangladesh_20250703_104007}/image.jpg
RENAMED
|
File without changes
|
examples/auto_jobs_in_bangladesh_20250703_104007/img_url.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
https://notepadacademy.com/wp-content/uploads/2023/08/image.png
|
examples/{auto_a_person_walking_down_the_stre_20250702_152111 → auto_jobs_in_bangladesh_20250703_104007}/preview_first_token.jpg
RENAMED
|
File without changes
|
examples/auto_jobs_in_bangladesh_20250703_104007/prompt.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
jobs in bangladesh
|