Spaces:
Running
on
T4
Running
on
T4
thomasht86
commited on
Commit
•
7c8ad25
1
Parent(s):
2e4e302
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- backend/vespa_app.py +2 -0
- frontend/app.py +1 -1
- static/full_images/2fcb93c4f453e5caecdae8e65db8f123.jpg +0 -0
- static/full_images/469bd401c76cd1aa7b08bbec511d3f16.jpg +0 -0
- static/full_images/6118da96f4623cca15e96498abe4a509.jpg +0 -0
- static/full_images/8de3ef84b322b64b75fe4933e7545d31.jpg +0 -0
- static/full_images/a6caf22b0c107f3b8dbd9b4f8049ff48.jpg +0 -0
- static/full_images/da86431f8f1e56a48f408e8f4241d057.jpg +0 -0
- static/full_images/f312dcc7af79cf0e756c792ab66b5643.jpg +0 -0
- static/sim_maps/-4973299256789660033_0_11.png +0 -0
- static/sim_maps/-4973299256789660033_0_12.png +0 -0
- static/sim_maps/-4973299256789660033_0_13.png +0 -0
- static/sim_maps/-4973299256789660033_0_14.png +0 -0
- static/sim_maps/-4973299256789660033_0_3.png +0 -0
- static/sim_maps/-4973299256789660033_0_4.png +0 -0
- static/sim_maps/-4973299256789660033_0_5.png +0 -0
- static/sim_maps/-4973299256789660033_0_6.png +0 -0
- static/sim_maps/-4973299256789660033_0_7.png +0 -0
- static/sim_maps/-4973299256789660033_0_8.png +0 -0
- static/sim_maps/-4973299256789660033_0_9.png +0 -0
- static/sim_maps/-4973299256789660033_1_11.png +0 -0
- static/sim_maps/-4973299256789660033_1_12.png +0 -0
- static/sim_maps/-4973299256789660033_1_13.png +0 -0
- static/sim_maps/-4973299256789660033_1_14.png +0 -0
- static/sim_maps/-4973299256789660033_1_3.png +0 -0
- static/sim_maps/-4973299256789660033_1_4.png +0 -0
- static/sim_maps/-4973299256789660033_1_5.png +0 -0
- static/sim_maps/-4973299256789660033_1_6.png +0 -0
- static/sim_maps/-4973299256789660033_1_7.png +0 -0
- static/sim_maps/-4973299256789660033_1_8.png +0 -0
- static/sim_maps/-4973299256789660033_1_9.png +0 -0
- static/sim_maps/-4973299256789660033_2_11.png +0 -0
- static/sim_maps/-4973299256789660033_2_12.png +0 -0
- static/sim_maps/-4973299256789660033_2_13.png +0 -0
- static/sim_maps/-4973299256789660033_2_14.png +0 -0
- static/sim_maps/-4973299256789660033_2_3.png +0 -0
- static/sim_maps/-4973299256789660033_2_4.png +0 -0
- static/sim_maps/-4973299256789660033_2_5.png +0 -0
- static/sim_maps/-4973299256789660033_2_6.png +0 -0
- static/sim_maps/-4973299256789660033_2_7.png +0 -0
- static/sim_maps/-4973299256789660033_2_8.png +0 -0
- static/sim_maps/-4973299256789660033_2_9.png +0 -0
- static/sim_maps/-5524224573315577601_0_10.png +0 -0
- static/sim_maps/-5524224573315577601_0_11.png +0 -0
- static/sim_maps/-5524224573315577601_0_12.png +0 -0
- static/sim_maps/-5524224573315577601_0_14.png +0 -0
- static/sim_maps/-5524224573315577601_0_15.png +0 -0
- static/sim_maps/-5524224573315577601_0_16.png +0 -0
- static/sim_maps/-5524224573315577601_0_17.png +0 -0
- 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
|
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