Spaces:
Running
on
Zero
Running
on
Zero
Update app_local.py
Browse files- app_local.py +3 -3
app_local.py
CHANGED
|
@@ -225,7 +225,7 @@ else:
|
|
| 225 |
# torch.cuda.empty_cache()
|
| 226 |
# gc.collect()
|
| 227 |
|
| 228 |
-
@spaces.GPU(
|
| 229 |
def infer(
|
| 230 |
image,
|
| 231 |
prompt,
|
|
@@ -350,9 +350,9 @@ with gr.Blocks(title="Qwen Image Editor Fast") as demo:
|
|
| 350 |
true_guidance_scale = gr.Slider(
|
| 351 |
label="Guidance Scale",
|
| 352 |
minimum=1.0,
|
| 353 |
-
maximum=
|
| 354 |
step=0.1,
|
| 355 |
-
value=
|
| 356 |
)
|
| 357 |
num_inference_steps = gr.Slider(
|
| 358 |
label="Inference Steps",
|
|
|
|
| 225 |
# torch.cuda.empty_cache()
|
| 226 |
# gc.collect()
|
| 227 |
|
| 228 |
+
@spaces.GPU()
|
| 229 |
def infer(
|
| 230 |
image,
|
| 231 |
prompt,
|
|
|
|
| 350 |
true_guidance_scale = gr.Slider(
|
| 351 |
label="Guidance Scale",
|
| 352 |
minimum=1.0,
|
| 353 |
+
maximum=10.0,
|
| 354 |
step=0.1,
|
| 355 |
+
value=3.0
|
| 356 |
)
|
| 357 |
num_inference_steps = gr.Slider(
|
| 358 |
label="Inference Steps",
|