Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
multilingual
Browse files
semantic_search/all_search_execute.py
CHANGED
|
@@ -515,6 +515,8 @@ def handler(input_,session_id):
|
|
| 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 |
|
|
|
|
| 515 |
}
|
| 516 |
}}
|
| 517 |
r = requests.get(url, auth=awsauth, json=hybrid_payload, headers=headers)
|
| 518 |
+
print(hybrid_payload)
|
| 519 |
+
print(r.text)
|
| 520 |
response_ = json.loads(r.text)
|
| 521 |
docs = response_['hits']['hits']
|
| 522 |
|