2ch commited on
Commit
eaa8ad7
·
1 Parent(s): e4fd05c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -591,6 +591,7 @@ def replicate_upscale(url: str, image_url: str, upscale: int = 2):
591
  prediction_id = response.json()['id']
592
  while True:
593
  response = session.get(f'https://replicate.com/api/predictions/{prediction_id}', headers=headers)
 
594
  status = response.json()['status']
595
  if status == 'succeeded':
596
  break
 
591
  prediction_id = response.json()['id']
592
  while True:
593
  response = session.get(f'https://replicate.com/api/predictions/{prediction_id}', headers=headers)
594
+ print(response.text)
595
  status = response.json()['status']
596
  if status == 'succeeded':
597
  break