Spaces:
Running
on
Zero
Running
on
Zero
qiaochanghao
commited on
Commit
·
a063e5b
1
Parent(s):
7dada90
change model
Browse files
app.py
CHANGED
|
@@ -153,8 +153,7 @@ dtype = torch.bfloat16
|
|
| 153 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 154 |
|
| 155 |
# Load the model pipeline
|
| 156 |
-
|
| 157 |
-
pipe = QwenImageEditPlusPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511", torch_dtype=dtype).to(device)
|
| 158 |
|
| 159 |
# --- UI Constants and Helpers ---
|
| 160 |
MAX_SEED = np.iinfo(np.int32).max
|
|
|
|
| 153 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 154 |
|
| 155 |
# Load the model pipeline
|
| 156 |
+
pipe = QwenImageEditPlusPipeline.from_pretrained("ElliotQi/FireRed-Image-Edit-1.0", torch_dtype=dtype).to(device)
|
|
|
|
| 157 |
|
| 158 |
# --- UI Constants and Helpers ---
|
| 159 |
MAX_SEED = np.iinfo(np.int32).max
|