mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(fix) replicate print verbose
This commit is contained in:
parent
49c7c851a8
commit
4c3765119b
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ def handle_prediction_response(prediction_url, api_token, print_verbose):
|
||||||
status = ""
|
status = ""
|
||||||
logs = ""
|
logs = ""
|
||||||
while True and (status not in ["succeeded", "failed", "canceled"]):
|
while True and (status not in ["succeeded", "failed", "canceled"]):
|
||||||
print_verbose(f"replicate: polling endpoint{prediction_url}")
|
print_verbose(f"replicate: polling endpoint: {prediction_url}")
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
response = requests.get(prediction_url, headers=headers)
|
response = requests.get(prediction_url, headers=headers)
|
||||||
if response.status_code == 200:
|
if response.status_code == 200:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue