Spaces:
Runtime error
Runtime error
zwl
commited on
Commit
·
2b19287
1
Parent(s):
f744c0d
fix bug
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ else:
|
|
| 64 |
|
| 65 |
device = "GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"
|
| 66 |
|
| 67 |
-
def inference(model_name, prompt, guidance, steps, width=512, height=512, seed=0, img=None, strength=0.5, neg_prompt=""
|
| 68 |
|
| 69 |
global current_model
|
| 70 |
for model in models:
|
|
|
|
| 64 |
|
| 65 |
device = "GPU 🔥" if torch.cuda.is_available() else "CPU 🥶"
|
| 66 |
|
| 67 |
+
def inference(model_name, prompt, guidance, steps, width=512, height=512, seed=0, img=None, strength=0.5, neg_prompt=""):
|
| 68 |
|
| 69 |
global current_model
|
| 70 |
for model in models:
|