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(
|
@@ -356,9 +356,9 @@ with gr.Blocks(css=css) as demo:
|
|
356 |
guidance_scale = gr.Slider(
|
357 |
label="Guidance Scale",
|
358 |
minimum=0.1,
|
359 |
-
maximum=
|
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/noobaiXLNAIXL_vPred05Version",
|
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.5版本的模型图片 其他版本在其他空间中""")
|
310 |
with gr.Group():
|
311 |
with gr.Row():
|
312 |
prompt = gr.Text(
|
|
|
356 |
guidance_scale = gr.Slider(
|
357 |
label="Guidance Scale",
|
358 |
minimum=0.1,
|
359 |
+
maximum=10,
|
360 |
step=0.1,
|
361 |
+
value=7.0,
|
362 |
)
|
363 |
num_inference_steps = gr.Slider(
|
364 |
label="生成步数",
|