ishworrsubedii commited on
Commit
bb48dce
·
verified ·
1 Parent(s): 03dc3d7

Update src/api/nto_api.py

Browse files
Files changed (1) hide show
  1. src/api/nto_api.py +3 -0
src/api/nto_api.py CHANGED
@@ -132,7 +132,10 @@ async def clothing_try_on(image: UploadFile = File(...),
132
  }
133
 
134
  output = replicate_run_cto(input)
 
 
135
  image_base = str(output[0])
 
136
  image_base_64 = image_base.split(",")[1]
137
  image_data = base64.b64decode(image_base_64)
138
 
 
132
  }
133
 
134
  output = replicate_run_cto(input)
135
+ print(output)
136
+ print("Output0",output[0])
137
  image_base = str(output[0])
138
+
139
  image_base_64 = image_base.split(",")[1]
140
  image_data = base64.b64decode(image_base_64)
141