Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ import torch
|
|
| 12 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 13 |
|
| 14 |
DESCRIPTION = """
|
| 15 |
-
#
|
| 16 |
"""
|
| 17 |
|
| 18 |
def save_image(img):
|
|
@@ -121,7 +121,7 @@ with gr.Blocks(css=css, theme="pseudolab/huggingface-korea-theme") as demo:
|
|
| 121 |
)
|
| 122 |
run_button = gr.Button("Run", scale=0)
|
| 123 |
result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
|
| 124 |
-
with gr.Accordion("
|
| 125 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
| 126 |
negative_prompt = gr.Text(
|
| 127 |
label="Negative prompt",
|
|
|
|
| 12 |
from diffusers import StableDiffusionXLPipeline, EulerAncestralDiscreteScheduler
|
| 13 |
|
| 14 |
DESCRIPTION = """
|
| 15 |
+
# Midjourney Free on GPT-Chatbot
|
| 16 |
"""
|
| 17 |
|
| 18 |
def save_image(img):
|
|
|
|
| 121 |
)
|
| 122 |
run_button = gr.Button("Run", scale=0)
|
| 123 |
result = gr.Gallery(label="Result", columns=1, preview=True, show_label=False)
|
| 124 |
+
with gr.Accordion("Настройки Midjourney", open=False):
|
| 125 |
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
| 126 |
negative_prompt = gr.Text(
|
| 127 |
label="Negative prompt",
|