diff --git a/matrix_pygmalion_bot/ai/runpod_pygmalion.py b/matrix_pygmalion_bot/ai/runpod_pygmalion.py index 6505d81..fc38205 100644 --- a/matrix_pygmalion_bot/ai/runpod_pygmalion.py +++ b/matrix_pygmalion_bot/ai/runpod_pygmalion.py @@ -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)