Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
bfc302b
1
Parent(s):
461c51a
remove lazy cache
Browse files
app.py
CHANGED
|
@@ -104,6 +104,7 @@ def prepare_pipeline(model_version, enable_realism, enable_anti_blur):
|
|
| 104 |
pipeline.load_loras(loras)
|
| 105 |
return pipeline
|
| 106 |
|
|
|
|
| 107 |
# @spaces.GPU
|
| 108 |
def generate_image(
|
| 109 |
input_image,
|
|
@@ -236,7 +237,6 @@ with gr.Blocks() as demo:
|
|
| 236 |
outputs=[image_output],
|
| 237 |
fn=generate_examples,
|
| 238 |
cache_examples=True,
|
| 239 |
-
cache_mode="lazy"
|
| 240 |
)
|
| 241 |
|
| 242 |
ui_btn_generate.click(
|
|
|
|
| 104 |
pipeline.load_loras(loras)
|
| 105 |
return pipeline
|
| 106 |
|
| 107 |
+
|
| 108 |
# @spaces.GPU
|
| 109 |
def generate_image(
|
| 110 |
input_image,
|
|
|
|
| 237 |
outputs=[image_output],
|
| 238 |
fn=generate_examples,
|
| 239 |
cache_examples=True,
|
|
|
|
| 240 |
)
|
| 241 |
|
| 242 |
ui_btn_generate.click(
|