ansal commited on
Commit
4aa18ac
·
verified ·
1 Parent(s): 489fe0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ def server(input: Inputs, output: Outputs, session: Session):
62
  combined_file = tempfile.NamedTemporaryFile(delete=False, suffix='.png')
63
  original_file = tempfile.NamedTemporaryFile(delete=False, suffix='.png')
64
  image.save(original_file.name, "PNG", quality=100)
65
- mask.save(combined_file.name, "PNG", quality=100)
66
 
67
  return original_file.name, combined_file.name
68
 
 
62
  combined_file = tempfile.NamedTemporaryFile(delete=False, suffix='.png')
63
  original_file = tempfile.NamedTemporaryFile(delete=False, suffix='.png')
64
  image.save(original_file.name, "PNG", quality=100)
65
+ combined.save(combined_file.name, "PNG", quality=100)
66
 
67
  return original_file.name, combined_file.name
68