From e5956b76e6047d9a721edc972fda7165fce782e8 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Tue, 11 Apr 2023 17:22:28 +0200 Subject: [PATCH] fix missing f --- matrix_pygmalion_bot/ai/runpod_pygmalion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)