Update app.py
Browse files
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:
|
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=
|
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,
|