@ -57,7 +57,7 @@ async def generate_sync(
TIMEOUT = 360
DELAY = 5
for i in range(TIMEOUT//DELAY):
endpoint = "https://api.runpod.ai/v2/{api_endpoint}/status/" + job_id
endpoint = f"https://api.runpod.ai/v2/{api_endpoint}/status/{job_id}"
r = requests.get(endpoint, headers=headers)
r_json = r.json()
logger.info(r_json)