multimodalart HF staff commited on
Commit
b4300b3
1 Parent(s): f0e89fe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -83,7 +83,6 @@ def run_lora(prompt, negative, weight, selected_state):
83
  for_inference=True,
84
  )
85
  lora_model.apply_to(pipe.text_encoder, pipe.unet) #is apply too all you need?
86
- pipe.to(device)
87
  last_merged = True
88
 
89
  image = pipe(
 
83
  for_inference=True,
84
  )
85
  lora_model.apply_to(pipe.text_encoder, pipe.unet) #is apply too all you need?
 
86
  last_merged = True
87
 
88
  image = pipe(