Spaces:
Running
Running
debug
Browse files
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 |
|