gaparmar commited on
Commit
23a93a3
β€’
1 Parent(s): d30a2ad

adding better error message

Browse files
Files changed (1) hide show
  1. utils/generate_synthetic.py +1 -1
utils/generate_synthetic.py CHANGED
@@ -308,7 +308,7 @@ def launch_main(img_in_real, img_in_synth, src, src_custom, dest, dest_custom, n
308
  return edit_pil[0]
309
 
310
  else:
311
- raise ValueError(f"Invalid image type: {image_type}")
312
 
313
 
314
 
308
  return edit_pil[0]
309
 
310
  else:
311
+ raise ValueError(f"Invalid image type found: {img_in_real} {img_in_synth}")
312
 
313
 
314