Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -195,7 +195,7 @@ with gr.Blocks (theme=gr.themes.Default(primary_hue="pink", secondary_hue="pink"
|
|
195 |
with gr.Row():
|
196 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
197 |
with gr.Row():
|
198 |
-
model = gr.Radio(label="Model", value="
|
199 |
|
200 |
|
201 |
|
@@ -219,6 +219,26 @@ with gr.Blocks (theme=gr.themes.Default(primary_hue="pink", secondary_hue="pink"
|
|
219 |
with gr.Row():
|
220 |
gr.Textbox(label="Sample prompt", value="{prompt} | ultra detail, ultra elaboration, ultra quality, perfect.")
|
221 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
222 |
with gr.Row():
|
223 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
224 |
with gr.Row():
|
|
|
195 |
with gr.Row():
|
196 |
text_prompt = gr.Textbox(label="Prompt", placeholder="Enter a prompt here", lines=3, elem_id="prompt-text-input")
|
197 |
with gr.Row():
|
198 |
+
model = gr.Radio(label="Model", value="DALL-E 3 XL", choices=models_list)
|
199 |
|
200 |
|
201 |
|
|
|
219 |
with gr.Row():
|
220 |
gr.Textbox(label="Sample prompt", value="{prompt} | ultra detail, ultra elaboration, ultra quality, perfect.")
|
221 |
|
222 |
+
with gr.Accordion("Advanced Settings Overview", open=False):
|
223 |
+
gr.Markdown(
|
224 |
+
""" # Advanced Settings Overview `Alyxsissy`
|
225 |
+
## Negative Prompt
|
226 |
+
#### This box is for telling the AI what you don't want in your images. Think of it as a way to avoid certain elements. For instance, if you don't want blurry images or extra limbs showing up, this is where you'd mention it.
|
227 |
+
## Sampling Steps
|
228 |
+
#### Think of this like the number of brushstrokes in a painting. A higher number can give you a more detailed picture, but it also takes a bit longer. Generally, a middle-ground number like 35 is a good balance between quality and speed.
|
229 |
+
## CFG Scale
|
230 |
+
#### CFG stands for "Control Free Guidance." The scale adjusts how closely the AI follows your prompt. A lower number makes the AI more creative and free-flowing, while a higher number makes it stick closely to what you asked for. If you want the AI to take fewer artistic liberties, slide this towards a higher number. Just think "Control Freak Gauge".
|
231 |
+
## Sampling Method
|
232 |
+
#### This is the technique the AI uses to create your image. Each option is a different approach, like choosing between pencils, markers, or paint. You don't need to worry too much about this; the default setting is usually the best choice for most users.
|
233 |
+
## Strength
|
234 |
+
#### This setting is a bit like the 'intensity' knob. It determines how much the AI modifies the base image it starts with. If you're looking to make subtle changes, keep this low. For more drastic transformations, turn it up.
|
235 |
+
## Seed
|
236 |
+
#### You can think of the seed as a 'recipe' for creating an image. If you find a seed that gives you a result you love, you can use it again to create a similar image. If you leave it at -1, the AI will generate a new seed every time.
|
237 |
+
|
238 |
+
### Remember, these settings are all about giving you control over the image generation process. Feel free to experiment and see what each one does. And if you're ever in doubt, the default settings are a great place to start. Happy creating!
|
239 |
+
"""
|
240 |
+
)
|
241 |
+
|
242 |
with gr.Row():
|
243 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
244 |
with gr.Row():
|