Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,10 @@ def generate_img(
|
|
| 69 |
seed,
|
| 70 |
pipeline: ImageEditor,
|
| 71 |
):
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
| 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 |
|