Spaces:
Runtime error
Runtime error
gaparmar
commited on
Commit
β’
23a93a3
1
Parent(s):
d30a2ad
adding better error message
Browse files
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: {
|
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 |
|