yeq6x commited on
Commit
2e8cc06
·
1 Parent(s): 2635771

dependencies

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -3,7 +3,6 @@ from PIL import Image
3
  import gradio as gr
4
  import open3d as o3d
5
  import trimesh
6
- from tqdm import tqdm
7
  from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline, EulerAncestralDiscreteScheduler
8
  import torch
9
  from collections import Counter
@@ -37,7 +36,7 @@ def create_point_cloud(img1, img2):
37
  h, w, _ = img1.shape
38
  points = []
39
  colors = []
40
- for y in tqdm(range(h)):
41
  for x in range(w):
42
  # ピクセル位置 (x, y) のRGBをXYZとして取得
43
  r, g, b = img1[y, x]
 
3
  import gradio as gr
4
  import open3d as o3d
5
  import trimesh
 
6
  from diffusers import ControlNetModel, StableDiffusionXLControlNetPipeline, EulerAncestralDiscreteScheduler
7
  import torch
8
  from collections import Counter
 
36
  h, w, _ = img1.shape
37
  points = []
38
  colors = []
39
+ for y in range(h):
40
  for x in range(w):
41
  # ピクセル位置 (x, y) のRGBをXYZとして取得
42
  r, g, b = img1[y, x]