Spaces:
Running
Running
add config for model-type
Browse files
app.py
CHANGED
@@ -65,7 +65,7 @@ def run_turbo(person_img, garm_img, category="Top"):
|
|
65 |
|
66 |
info = "" # placeholder for now
|
67 |
|
68 |
-
job_id, status = call_tryon_api(person_img, garm_img, category)
|
69 |
|
70 |
time.sleep(3) # wait before fetching the result
|
71 |
|
|
|
65 |
|
66 |
info = "" # placeholder for now
|
67 |
|
68 |
+
job_id, status = call_tryon_api(person_img, garm_img, category, model_type= os.environ['MODEL_TYPE'])
|
69 |
|
70 |
time.sleep(3) # wait before fetching the result
|
71 |
|