thomasht86 commited on
Commit
7c8ad25
1 Parent(s): 2e4e302

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. backend/vespa_app.py +2 -0
  2. frontend/app.py +1 -1
  3. static/full_images/2fcb93c4f453e5caecdae8e65db8f123.jpg +0 -0
  4. static/full_images/469bd401c76cd1aa7b08bbec511d3f16.jpg +0 -0
  5. static/full_images/6118da96f4623cca15e96498abe4a509.jpg +0 -0
  6. static/full_images/8de3ef84b322b64b75fe4933e7545d31.jpg +0 -0
  7. static/full_images/a6caf22b0c107f3b8dbd9b4f8049ff48.jpg +0 -0
  8. static/full_images/da86431f8f1e56a48f408e8f4241d057.jpg +0 -0
  9. static/full_images/f312dcc7af79cf0e756c792ab66b5643.jpg +0 -0
  10. static/sim_maps/-4973299256789660033_0_11.png +0 -0
  11. static/sim_maps/-4973299256789660033_0_12.png +0 -0
  12. static/sim_maps/-4973299256789660033_0_13.png +0 -0
  13. static/sim_maps/-4973299256789660033_0_14.png +0 -0
  14. static/sim_maps/-4973299256789660033_0_3.png +0 -0
  15. static/sim_maps/-4973299256789660033_0_4.png +0 -0
  16. static/sim_maps/-4973299256789660033_0_5.png +0 -0
  17. static/sim_maps/-4973299256789660033_0_6.png +0 -0
  18. static/sim_maps/-4973299256789660033_0_7.png +0 -0
  19. static/sim_maps/-4973299256789660033_0_8.png +0 -0
  20. static/sim_maps/-4973299256789660033_0_9.png +0 -0
  21. static/sim_maps/-4973299256789660033_1_11.png +0 -0
  22. static/sim_maps/-4973299256789660033_1_12.png +0 -0
  23. static/sim_maps/-4973299256789660033_1_13.png +0 -0
  24. static/sim_maps/-4973299256789660033_1_14.png +0 -0
  25. static/sim_maps/-4973299256789660033_1_3.png +0 -0
  26. static/sim_maps/-4973299256789660033_1_4.png +0 -0
  27. static/sim_maps/-4973299256789660033_1_5.png +0 -0
  28. static/sim_maps/-4973299256789660033_1_6.png +0 -0
  29. static/sim_maps/-4973299256789660033_1_7.png +0 -0
  30. static/sim_maps/-4973299256789660033_1_8.png +0 -0
  31. static/sim_maps/-4973299256789660033_1_9.png +0 -0
  32. static/sim_maps/-4973299256789660033_2_11.png +0 -0
  33. static/sim_maps/-4973299256789660033_2_12.png +0 -0
  34. static/sim_maps/-4973299256789660033_2_13.png +0 -0
  35. static/sim_maps/-4973299256789660033_2_14.png +0 -0
  36. static/sim_maps/-4973299256789660033_2_3.png +0 -0
  37. static/sim_maps/-4973299256789660033_2_4.png +0 -0
  38. static/sim_maps/-4973299256789660033_2_5.png +0 -0
  39. static/sim_maps/-4973299256789660033_2_6.png +0 -0
  40. static/sim_maps/-4973299256789660033_2_7.png +0 -0
  41. static/sim_maps/-4973299256789660033_2_8.png +0 -0
  42. static/sim_maps/-4973299256789660033_2_9.png +0 -0
  43. static/sim_maps/-5524224573315577601_0_10.png +0 -0
  44. static/sim_maps/-5524224573315577601_0_11.png +0 -0
  45. static/sim_maps/-5524224573315577601_0_12.png +0 -0
  46. static/sim_maps/-5524224573315577601_0_14.png +0 -0
  47. static/sim_maps/-5524224573315577601_0_15.png +0 -0
  48. static/sim_maps/-5524224573315577601_0_16.png +0 -0
  49. static/sim_maps/-5524224573315577601_0_17.png +0 -0
  50. static/sim_maps/-5524224573315577601_0_3.png +0 -0
backend/vespa_app.py CHANGED
@@ -302,6 +302,7 @@ class VespaQueryClient:
302
  "yql": f'select full_image from {self.VESPA_SCHEMA_NAME} where id contains "{doc_id}"',
303
  "ranking": "unranked",
304
  "presentation.timing": True,
 
305
  },
306
  )
307
  assert response.is_successful(), response.json
@@ -340,6 +341,7 @@ class VespaQueryClient:
340
  "ranking": "unranked",
341
  "presentation.timing": True,
342
  "presentation.summary": "suggestions",
 
343
  },
344
  )
345
  assert response.is_successful(), response.json
 
302
  "yql": f'select full_image from {self.VESPA_SCHEMA_NAME} where id contains "{doc_id}"',
303
  "ranking": "unranked",
304
  "presentation.timing": True,
305
+ "ranking.matching.numThreadsPerSearch": 1,
306
  },
307
  )
308
  assert response.is_successful(), response.json
 
341
  "ranking": "unranked",
342
  "presentation.timing": True,
343
  "presentation.summary": "suggestions",
344
+ "ranking.matching.numThreadsPerSearch": 1,
345
  },
346
  )
347
  assert response.is_successful(), response.json
frontend/app.py CHANGED
@@ -274,7 +274,7 @@ def SampleQueries():
274
  sample_queries = [
275
  "What percentage of the funds unlisted real estate investments were in Switzerland 2023?",
276
  "Gender balance at level 4 or above in NY office 2023?",
277
- "Number of internship applications trend 2021-2023",
278
  "Total amount of fixed salaries paid in 2023?",
279
  "Proportion of female new hires 2021-2023?",
280
  "child jumping over puddle",
 
274
  sample_queries = [
275
  "What percentage of the funds unlisted real estate investments were in Switzerland 2023?",
276
  "Gender balance at level 4 or above in NY office 2023?",
277
+ "Number of graduate applications trend 2021-2023",
278
  "Total amount of fixed salaries paid in 2023?",
279
  "Proportion of female new hires 2021-2023?",
280
  "child jumping over puddle",
static/full_images/2fcb93c4f453e5caecdae8e65db8f123.jpg ADDED
static/full_images/469bd401c76cd1aa7b08bbec511d3f16.jpg ADDED
static/full_images/6118da96f4623cca15e96498abe4a509.jpg ADDED
static/full_images/8de3ef84b322b64b75fe4933e7545d31.jpg ADDED
static/full_images/a6caf22b0c107f3b8dbd9b4f8049ff48.jpg ADDED
static/full_images/da86431f8f1e56a48f408e8f4241d057.jpg ADDED
static/full_images/f312dcc7af79cf0e756c792ab66b5643.jpg ADDED
static/sim_maps/-4973299256789660033_0_11.png ADDED
static/sim_maps/-4973299256789660033_0_12.png ADDED
static/sim_maps/-4973299256789660033_0_13.png ADDED
static/sim_maps/-4973299256789660033_0_14.png ADDED
static/sim_maps/-4973299256789660033_0_3.png ADDED
static/sim_maps/-4973299256789660033_0_4.png ADDED
static/sim_maps/-4973299256789660033_0_5.png ADDED
static/sim_maps/-4973299256789660033_0_6.png ADDED
static/sim_maps/-4973299256789660033_0_7.png ADDED
static/sim_maps/-4973299256789660033_0_8.png ADDED
static/sim_maps/-4973299256789660033_0_9.png ADDED
static/sim_maps/-4973299256789660033_1_11.png ADDED
static/sim_maps/-4973299256789660033_1_12.png ADDED
static/sim_maps/-4973299256789660033_1_13.png ADDED
static/sim_maps/-4973299256789660033_1_14.png ADDED
static/sim_maps/-4973299256789660033_1_3.png ADDED
static/sim_maps/-4973299256789660033_1_4.png ADDED
static/sim_maps/-4973299256789660033_1_5.png ADDED
static/sim_maps/-4973299256789660033_1_6.png ADDED
static/sim_maps/-4973299256789660033_1_7.png ADDED
static/sim_maps/-4973299256789660033_1_8.png ADDED
static/sim_maps/-4973299256789660033_1_9.png ADDED
static/sim_maps/-4973299256789660033_2_11.png ADDED
static/sim_maps/-4973299256789660033_2_12.png ADDED
static/sim_maps/-4973299256789660033_2_13.png ADDED
static/sim_maps/-4973299256789660033_2_14.png ADDED
static/sim_maps/-4973299256789660033_2_3.png ADDED
static/sim_maps/-4973299256789660033_2_4.png ADDED
static/sim_maps/-4973299256789660033_2_5.png ADDED
static/sim_maps/-4973299256789660033_2_6.png ADDED
static/sim_maps/-4973299256789660033_2_7.png ADDED
static/sim_maps/-4973299256789660033_2_8.png ADDED
static/sim_maps/-4973299256789660033_2_9.png ADDED
static/sim_maps/-5524224573315577601_0_10.png ADDED
static/sim_maps/-5524224573315577601_0_11.png ADDED
static/sim_maps/-5524224573315577601_0_12.png ADDED
static/sim_maps/-5524224573315577601_0_14.png ADDED
static/sim_maps/-5524224573315577601_0_15.png ADDED
static/sim_maps/-5524224573315577601_0_16.png ADDED
static/sim_maps/-5524224573315577601_0_17.png ADDED
static/sim_maps/-5524224573315577601_0_3.png ADDED