Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,6 @@ def upload_to_ftp(filename):
|
|
| 56 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 57 |
torch_dtype = torch.bfloat16
|
| 58 |
|
| 59 |
-
|
| 60 |
checkpoint = "microsoft/Phi-3.5-mini-instruct"
|
| 61 |
#vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
| 62 |
vae = AutoencoderKL.from_pretrained("ford442/sdxl-vae-bf16")
|
|
@@ -351,7 +350,7 @@ with gr.Blocks(theme=gr.themes.Origin(),css=css) as demo:
|
|
| 351 |
label="Negative prompt",
|
| 352 |
max_lines=1,
|
| 353 |
placeholder="Enter a negative prompt",
|
| 354 |
-
visible=
|
| 355 |
)
|
| 356 |
num_iterations = gr.Number(
|
| 357 |
value=1000,
|
|
|
|
| 56 |
device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
|
| 57 |
torch_dtype = torch.bfloat16
|
| 58 |
|
|
|
|
| 59 |
checkpoint = "microsoft/Phi-3.5-mini-instruct"
|
| 60 |
#vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
| 61 |
vae = AutoencoderKL.from_pretrained("ford442/sdxl-vae-bf16")
|
|
|
|
| 350 |
label="Negative prompt",
|
| 351 |
max_lines=1,
|
| 352 |
placeholder="Enter a negative prompt",
|
| 353 |
+
visible=True,
|
| 354 |
)
|
| 355 |
num_iterations = gr.Number(
|
| 356 |
value=1000,
|