LTT commited on
Commit
4590f3f
·
verified ·
1 Parent(s): 3b39c63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -83,7 +83,7 @@ from huggingface_hub import hf_hub_download
83
  from utils.tool import NormalTransfer, get_background, get_render_cameras_video, load_mipmap, render_frames
84
 
85
  device_0 = "cuda:0"
86
- device_1 = "cuda:1"
87
  resolution = 512
88
  save_dir = "./outputs"
89
  normal_transfer = NormalTransfer()
@@ -203,7 +203,7 @@ def generate_multi_view_images(prompt, seed):
203
  with torch.no_grad():
204
  images = flux_pipe(
205
  prompt=prompt,
206
- num_inference_steps=20,
207
  guidance_scale=3.5,
208
  num_images_per_prompt=1,
209
  width=resolution * 4,
 
83
  from utils.tool import NormalTransfer, get_background, get_render_cameras_video, load_mipmap, render_frames
84
 
85
  device_0 = "cuda:0"
86
+ device_1 = "cuda:0"
87
  resolution = 512
88
  save_dir = "./outputs"
89
  normal_transfer = NormalTransfer()
 
203
  with torch.no_grad():
204
  images = flux_pipe(
205
  prompt=prompt,
206
+ num_inference_steps=15,
207
  guidance_scale=3.5,
208
  num_images_per_prompt=1,
209
  width=resolution * 4,