soiz1 commited on
Commit
18197ed
·
verified ·
1 Parent(s): d2bbd0d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def remove_background():
47
 
48
  # 結果として返される2つの画像パスを取得
49
  image_path1, image_path2 = result
50
- depth_image = Image.open(image_path1)
51
- processed_image = Image.open(image_path2)
52
 
53
  return jsonify({
54
  "depth_image": image_to_data_url(depth_image),
 
47
 
48
  # 結果として返される2つの画像パスを取得
49
  image_path1, image_path2 = result
50
+ depth_image = Image.open(image_path2)
51
+ processed_image = Image.open(image_path1)
52
 
53
  return jsonify({
54
  "depth_image": image_to_data_url(depth_image),