Spaces:
Running
on
Zero
Running
on
Zero
Prime Cai
commited on
Commit
·
b574dad
1
Parent(s):
d9e721f
fix link
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def get_samples():
|
|
72 |
sample_list = [
|
73 |
{
|
74 |
"image": "assets/hf-logo.png",
|
75 |
-
"text": "
|
76 |
},
|
77 |
{
|
78 |
"image": "assets/seededit_example.png",
|
@@ -135,9 +135,9 @@ with demo:
|
|
135 |
gr.Image(type="pil", width=512),
|
136 |
gr.Textbox(lines=2, label="text", info="Could be something as simple as 'this character playing soccer'."),
|
137 |
gr.Checkbox(label="Gemini prompt", value=True, info="Use Gemini to enhance the prompt. This is recommended for most cases, unless you have a specific prompt similar to the examples in mind."),
|
138 |
-
gr.Slider(minimum=1.0, maximum=6.0, step=0.5, value=3.5, label="guidance scale", info="
|
139 |
-
gr.Slider(minimum=1.0, maximum=2.0, step=0.05, value=1.0, label="real guidance scale for image", info="
|
140 |
-
gr.Slider(minimum=1.0, maximum=2.0, step=0.05, value=1.0, label="real guidance scale for prompt", info="
|
141 |
],
|
142 |
outputs=gr.Image(type="pil"),
|
143 |
# examples=get_samples(),
|
|
|
72 |
sample_list = [
|
73 |
{
|
74 |
"image": "assets/hf-logo.png",
|
75 |
+
"text": "This item, holding a sign that reads 'DSD!', is placed on a shiny glass table.",
|
76 |
},
|
77 |
{
|
78 |
"image": "assets/seededit_example.png",
|
|
|
135 |
gr.Image(type="pil", width=512),
|
136 |
gr.Textbox(lines=2, label="text", info="Could be something as simple as 'this character playing soccer'."),
|
137 |
gr.Checkbox(label="Gemini prompt", value=True, info="Use Gemini to enhance the prompt. This is recommended for most cases, unless you have a specific prompt similar to the examples in mind."),
|
138 |
+
gr.Slider(minimum=1.0, maximum=6.0, step=0.5, value=3.5, label="guidance scale", info="Tip: start with 3.5, then gradually increase if the consistency is consistently off"),
|
139 |
+
gr.Slider(minimum=1.0, maximum=2.0, step=0.05, value=1.0, label="real guidance scale for image", info="Tip: increase if the image is not consistent"),
|
140 |
+
gr.Slider(minimum=1.0, maximum=2.0, step=0.05, value=1.0, label="real guidance scale for prompt", info="Tip: increase if the prompt is not consistent"),
|
141 |
],
|
142 |
outputs=gr.Image(type="pil"),
|
143 |
# examples=get_samples(),
|