still having issues
This commit is contained in:
parent
4b32401542
commit
bf39b8da63
|
@ -37,7 +37,7 @@ def prepare_json(json_data: dict):
|
|||
|
||||
|
||||
def generate(json_data: dict):
|
||||
# print(json.dumps(prepare_json(json_data)))
|
||||
assert json_data.get('typical_p', 0) < 0.999
|
||||
try:
|
||||
r = requests.post(f'{opts.backend_url}/generate', json=prepare_json(json_data), verify=opts.verify_ssl)
|
||||
except Exception as e:
|
||||
|
|
Reference in New Issue