Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ def generate(
|
|
| 110 |
output_type="pil",
|
| 111 |
).images
|
| 112 |
|
| 113 |
-
return img
|
| 114 |
|
| 115 |
except Exception as e:
|
| 116 |
print(f"An error occurred: {e}")
|
|
@@ -230,7 +230,7 @@ with gr.Blocks(
|
|
| 230 |
sampler,
|
| 231 |
clip_skip
|
| 232 |
],
|
| 233 |
-
outputs=
|
| 234 |
api_name="run"
|
| 235 |
)
|
| 236 |
|
|
|
|
| 110 |
output_type="pil",
|
| 111 |
).images
|
| 112 |
|
| 113 |
+
return img
|
| 114 |
|
| 115 |
except Exception as e:
|
| 116 |
print(f"An error occurred: {e}")
|
|
|
|
| 230 |
sampler,
|
| 231 |
clip_skip
|
| 232 |
],
|
| 233 |
+
outputs=result,
|
| 234 |
api_name="run"
|
| 235 |
)
|
| 236 |
|