iitolstykh commited on
Commit
c525562
·
verified ·
1 Parent(s): 83c07d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -69,7 +69,10 @@ def generate_img(
69
  seed,
70
  pipeline: ImageEditor,
71
  ):
72
- pipeline.pipe.to("cuda").to(pipeline.weight_dtype)
 
 
 
73
 
74
  pil_image = PILImage.fromarray(np_image)
75
 
 
69
  seed,
70
  pipeline: ImageEditor,
71
  ):
72
+ # FIXME
73
+ pipeline = load_pipeline()
74
+
75
+ # pipeline.pipe.to("cuda").to(pipeline.weight_dtype)
76
 
77
  pil_image = PILImage.fromarray(np_image)
78