Guillaume1989 commited on
Commit
234acaf
·
1 Parent(s): 5eca0b2

fix: examples

Browse files
Files changed (19) hide show
  1. app.py +2 -2
  2. examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġa.png +0 -3
  3. examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġdog.png +0 -3
  4. examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġstreet.png +0 -3
  5. examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġthe.png +0 -3
  6. examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwalking.png +0 -3
  7. examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwith.png +0 -3
  8. examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmaps.json +0 -0
  9. examples/auto_a_person_walking_down_the_stre_20250702_152111/img_url.txt +0 -1
  10. examples/auto_a_person_walking_down_the_stre_20250702_152111/prompt.txt +0 -1
  11. examples/{auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġdown.png → auto_jobs_in_bangladesh_20250703_104007/heatmap_ladesh.png} +2 -2
  12. examples/{auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġperson.png → auto_jobs_in_bangladesh_20250703_104007/heatmap_ġbang.png} +2 -2
  13. examples/auto_jobs_in_bangladesh_20250703_104007/heatmap_ġin.png +3 -0
  14. examples/auto_jobs_in_bangladesh_20250703_104007/heatmap_ġjobs.png +3 -0
  15. examples/auto_jobs_in_bangladesh_20250703_104007/heatmaps.json +0 -0
  16. examples/{auto_a_person_walking_down_the_stre_20250702_152111 → auto_jobs_in_bangladesh_20250703_104007}/image.jpg +2 -2
  17. examples/auto_jobs_in_bangladesh_20250703_104007/img_url.txt +1 -0
  18. examples/{auto_a_person_walking_down_the_stre_20250702_152111 → auto_jobs_in_bangladesh_20250703_104007}/preview_first_token.jpg +2 -2
  19. 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="local")
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

  • SHA256: 92fb8da48e7261fb2e3c61c93e0984fb17c44618e914cb17f5f36869b249d151
  • Pointer size: 131 Bytes
  • Size of remote file: 115 kB
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġdog.png DELETED

Git LFS Details

  • SHA256: 2aad32242c1a492608405e77ab0a8097397449fbadbc904495a7914343dd4c80
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġstreet.png DELETED

Git LFS Details

  • SHA256: d907b51364260e731f5e12372b4fb159260ab160b4f0e7d6b03f9acad32cadd0
  • Pointer size: 131 Bytes
  • Size of remote file: 113 kB
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġthe.png DELETED

Git LFS Details

  • SHA256: 6994ae59eb344e42b282acf0e0e5294deb838735ab792341d51d06713467583f
  • Pointer size: 131 Bytes
  • Size of remote file: 115 kB
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwalking.png DELETED

Git LFS Details

  • SHA256: c1cc64f00ae09ca8e7caecfd2a96ba89fe562632ba7e36ddf114b0c0fe67cb94
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
examples/auto_a_person_walking_down_the_stre_20250702_152111/heatmap_ġwith.png DELETED

Git LFS Details

  • SHA256: 69d5d737b90293ef5de1b14bf2c820480dc2568cb38beb73af25152f9852655c
  • Pointer size: 131 Bytes
  • Size of remote file: 114 kB
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

  • SHA256: 5a458bbe264bfa6c667480199479bc8f3612cd15e37dff2a0952b7c917cee985
  • Pointer size: 130 Bytes
  • Size of remote file: 79.5 kB
examples/auto_jobs_in_bangladesh_20250703_104007/heatmap_ġjobs.png ADDED

Git LFS Details

  • SHA256: 49790b318b5814c02e9f86bf9a34da917e97cfcaee41df807bea85f1d891f27a
  • Pointer size: 130 Bytes
  • Size of remote file: 73.8 kB
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