Browse Source

fix missing f

master
Hendrik Langer 2 years ago
parent
commit
e5956b76e6
  1. 2
      matrix_pygmalion_bot/ai/runpod_pygmalion.py

2
matrix_pygmalion_bot/ai/runpod_pygmalion.py

@ -57,7 +57,7 @@ async def generate_sync(
TIMEOUT = 360 TIMEOUT = 360
DELAY = 5 DELAY = 5
for i in range(TIMEOUT//DELAY): 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 = requests.get(endpoint, headers=headers)
r_json = r.json() r_json = r.json()
logger.info(r_json) logger.info(r_json)

Loading…
Cancel
Save