Loren commited on
Commit
f5b4b73
1 Parent(s): ce66da9

Add pick color

Browse files
Files changed (1) hide show
  1. pages/App.py +2 -2
pages/App.py CHANGED
@@ -267,9 +267,9 @@ def load_image(in_image_file):
267
  # out_image_path = "img."+in_image_file.name.split('.')[-1]
268
 
269
  if isinstance(in_image_file, str):
270
- out_image_path = "tmp/wrk_"+in_image_file
271
  else:
272
- out_image_path = "tmp/wrk_"+in_image_file.name
273
 
274
  img = Image.open(in_image_file)
275
  img_saved = img.save(out_image_path)
 
267
  # out_image_path = "img."+in_image_file.name.split('.')[-1]
268
 
269
  if isinstance(in_image_file, str):
270
+ out_image_path = "tmp_"+in_image_file
271
  else:
272
+ out_image_path = "tmp_"+in_image_file.name
273
 
274
  img = Image.open(in_image_file)
275
  img_saved = img.save(out_image_path)