Spaces:
Running
on
T4
Running
on
T4
multilingual
Browse files
semantic_search/all_search_execute.py
CHANGED
@@ -514,7 +514,7 @@ def handler(input_,session_id):
|
|
514 |
"query_text": query
|
515 |
}
|
516 |
}}
|
517 |
-
|
518 |
response_ = json.loads(r.text)
|
519 |
docs = response_['hits']['hits']
|
520 |
|
|
|
514 |
"query_text": query
|
515 |
}
|
516 |
}}
|
517 |
+
r = requests.get(url_, auth=awsauth, json=hybrid_payload, headers=headers)
|
518 |
response_ = json.loads(r.text)
|
519 |
docs = response_['hits']['hits']
|
520 |
|