Update gradio_app.py
Browse files- gradio_app.py +1 -1
gradio_app.py
CHANGED
@@ -145,7 +145,7 @@ def gen_mvimg(
|
|
145 |
|
146 |
elif mvimg_model == "Era3D":
|
147 |
global era3d_pipeline
|
148 |
-
era3d_pipeline.to(device
|
149 |
era3d_pipeline.unet.enable_xformers_memory_efficient_attention()
|
150 |
|
151 |
crop_size = 420
|
|
|
145 |
|
146 |
elif mvimg_model == "Era3D":
|
147 |
global era3d_pipeline
|
148 |
+
era3d_pipeline.to(device)
|
149 |
era3d_pipeline.unet.enable_xformers_memory_efficient_attention()
|
150 |
|
151 |
crop_size = 420
|