Spaces:
Running
on
T4
Running
on
T4
updated ML models
Browse files
semantic_search/all_search_execute.py
CHANGED
@@ -443,6 +443,8 @@ def handler(input_,session_id):
|
|
443 |
}}
|
444 |
|
445 |
r = requests.get(url, auth=awsauth, json=hybrid_payload, headers=headers)
|
|
|
|
|
446 |
response_ = json.loads(r.text)
|
447 |
docs = response_['hits']['hits']
|
448 |
|
|
|
443 |
}}
|
444 |
|
445 |
r = requests.get(url, auth=awsauth, json=hybrid_payload, headers=headers)
|
446 |
+
print("url: "+url)
|
447 |
+
print("payload: "+json.dumps(hybrid_payload))
|
448 |
response_ = json.loads(r.text)
|
449 |
docs = response_['hits']['hits']
|
450 |
|