Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -150,6 +150,7 @@ def use_output_as_input(output_image):
|
|
| 150 |
|
| 151 |
# Initialize Qwen Image Edit pipeline
|
| 152 |
# Scheduler configuration for Lightning
|
|
|
|
| 153 |
scheduler_config = {
|
| 154 |
"base_image_seq_len": 256,
|
| 155 |
"base_shift": math.log(3),
|
|
|
|
| 150 |
|
| 151 |
# Initialize Qwen Image Edit pipeline
|
| 152 |
# Scheduler configuration for Lightning
|
| 153 |
+
dtype = torch.bfloat16
|
| 154 |
scheduler_config = {
|
| 155 |
"base_image_seq_len": 256,
|
| 156 |
"base_shift": math.log(3),
|