zc-huhu commited on
Commit
d8b253f
·
1 Parent(s): e99c87a
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -30,6 +30,8 @@ def call_tryon_api(person_file, garm_file, category, model_type='SD_V1'):
30
  if response.ok:
31
  data = response.json()
32
  return data['job_id'], data['status']
 
 
33
  except Exception as e:
34
  print(f"call tryon api error: {e}")
35
 
 
30
  if response.ok:
31
  data = response.json()
32
  return data['job_id'], data['status']
33
+ else:
34
+ print(response)
35
  except Exception as e:
36
  print(f"call tryon api error: {e}")
37