Update app.py
Browse files
app.py
CHANGED
|
@@ -313,9 +313,9 @@ def infer(
|
|
| 313 |
"height": height,
|
| 314 |
"guidance_scale": guidance_scale,
|
| 315 |
"num_inference_steps": num_inference_steps,
|
| 316 |
-
"model": "
|
| 317 |
"use_resolution_binning": use_resolution_binning,
|
| 318 |
-
"PreUrl": "https://huggingface.co/spaces/Menyu/
|
| 319 |
}
|
| 320 |
# Add metadata to the image
|
| 321 |
image_with_metadata = add_metadata_to_image(image, metadata)
|
|
@@ -338,7 +338,7 @@ h1{text-align:center}
|
|
| 338 |
|
| 339 |
with gr.Blocks(css=css) as demo:
|
| 340 |
gr.Markdown("""# 梦羽的模型生成器
|
| 341 |
-
### 快速生成
|
| 342 |
with gr.Group():
|
| 343 |
with gr.Row():
|
| 344 |
prompt = gr.Text(
|
|
|
|
| 313 |
"height": height,
|
| 314 |
"guidance_scale": guidance_scale,
|
| 315 |
"num_inference_steps": num_inference_steps,
|
| 316 |
+
"model": "wai-nsfw-illustrious-sdxl-v140-sdxl",
|
| 317 |
"use_resolution_binning": use_resolution_binning,
|
| 318 |
+
"PreUrl": "https://huggingface.co/spaces/Menyu/wainsfw"
|
| 319 |
}
|
| 320 |
# Add metadata to the image
|
| 321 |
image_with_metadata = add_metadata_to_image(image, metadata)
|
|
|
|
| 338 |
|
| 339 |
with gr.Blocks(css=css) as demo:
|
| 340 |
gr.Markdown("""# 梦羽的模型生成器
|
| 341 |
+
### 快速生成 Wai nsfw illustrious v140 模型的图片""")
|
| 342 |
with gr.Group():
|
| 343 |
with gr.Row():
|
| 344 |
prompt = gr.Text(
|