Spaces:
Runtime error
Runtime error
ameerazam08
commited on
Commit
β’
62ffb75
1
Parent(s):
4fb4e0b
Update app.py
Browse files
app.py
CHANGED
@@ -111,6 +111,7 @@ def generate(
|
|
111 |
examples = [
|
112 |
"A realistic photograph of an astronaut in a jungle, cold color palette, detailed, 8k",
|
113 |
"An astronaut riding a green horse",
|
|
|
114 |
]
|
115 |
|
116 |
theme = gr.themes.Base(
|
@@ -135,14 +136,14 @@ with gr.Blocks(css="footer{display:none !important}", theme=theme) as demo:
|
|
135 |
# result = gr.Gallery(label="Right is Res-Adapt-LORA and Left is Base"),
|
136 |
with gr.Accordion("Advanced options", open=False):
|
137 |
with gr.Row():
|
138 |
-
use_negative_prompt = gr.Checkbox(label="Use negative prompt",value=
|
139 |
use_prompt_2 = gr.Checkbox(label="Use prompt 2", value=False)
|
140 |
use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
|
141 |
negative_prompt = gr.Text(
|
142 |
label="Negative prompt",
|
143 |
max_lines=1,
|
144 |
-
placeholder="
|
145 |
-
visible=
|
146 |
)
|
147 |
prompt_2 = gr.Text(
|
148 |
label="Prompt 2",
|
|
|
111 |
examples = [
|
112 |
"A realistic photograph of an astronaut in a jungle, cold color palette, detailed, 8k",
|
113 |
"An astronaut riding a green horse",
|
114 |
+
"cinematic film still, photo of a girl, cyberpunk, neonpunk, headset, city at night, sony fe 12-24mm f/2.8 gm, close up, 32k uhd, wallpaper, analog film grain, SONY headset"
|
115 |
]
|
116 |
|
117 |
theme = gr.themes.Base(
|
|
|
136 |
# result = gr.Gallery(label="Right is Res-Adapt-LORA and Left is Base"),
|
137 |
with gr.Accordion("Advanced options", open=False):
|
138 |
with gr.Row():
|
139 |
+
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=True)
|
140 |
use_prompt_2 = gr.Checkbox(label="Use prompt 2", value=False)
|
141 |
use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
|
142 |
negative_prompt = gr.Text(
|
143 |
label="Negative prompt",
|
144 |
max_lines=1,
|
145 |
+
placeholder="ugly, deformed, noisy, blurry, nsfw, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck",
|
146 |
+
visible=True,
|
147 |
)
|
148 |
prompt_2 = gr.Text(
|
149 |
label="Prompt 2",
|