wyysf commited on
Commit
ef66f74
β€’
1 Parent(s): 9bc9474

Update gradio_app.py

Browse files
Files changed (1) hide show
  1. 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=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