Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -227,7 +227,7 @@ MAX_IMAGE_SIZE = 4096
|
|
227 |
if torch.cuda.is_available():
|
228 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
229 |
pipe = AutoPipelineForText2Image.from_pretrained(
|
230 |
-
"Menyu/
|
231 |
vae=vae,
|
232 |
torch_dtype=torch.float16,
|
233 |
use_safetensors=True,
|
@@ -306,7 +306,7 @@ footer {
|
|
306 |
|
307 |
with gr.Blocks(css=css) as demo:
|
308 |
gr.Markdown("""# 梦羽的模型生成器
|
309 |
-
### 快速生成NoobAIXL V预测0.
|
310 |
with gr.Group():
|
311 |
with gr.Row():
|
312 |
prompt = gr.Text(
|
@@ -358,7 +358,7 @@ with gr.Blocks(css=css) as demo:
|
|
358 |
minimum=0.1,
|
359 |
maximum=10,
|
360 |
step=0.1,
|
361 |
-
value=
|
362 |
)
|
363 |
num_inference_steps = gr.Slider(
|
364 |
label="生成步数",
|
|
|
227 |
if torch.cuda.is_available():
|
228 |
vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
|
229 |
pipe = AutoPipelineForText2Image.from_pretrained(
|
230 |
+
"Menyu/noobai-xl-vpred-v0_6",
|
231 |
vae=vae,
|
232 |
torch_dtype=torch.float16,
|
233 |
use_safetensors=True,
|
|
|
306 |
|
307 |
with gr.Blocks(css=css) as demo:
|
308 |
gr.Markdown("""# 梦羽的模型生成器
|
309 |
+
### 快速生成NoobAIXL V预测0.6版本的模型图片""")
|
310 |
with gr.Group():
|
311 |
with gr.Row():
|
312 |
prompt = gr.Text(
|
|
|
358 |
minimum=0.1,
|
359 |
maximum=10,
|
360 |
step=0.1,
|
361 |
+
value=5.0,
|
362 |
)
|
363 |
num_inference_steps = gr.Slider(
|
364 |
label="生成步数",
|