Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,8 @@ concept_options = list(CONCEPTS_MAP.keys())
|
|
71 |
|
72 |
|
73 |
examples = [
|
74 |
-
['./IP_Composer/assets/objects/mug.png', './IP_Composer/assets/patterns/splash.png', 'patterns (including color)', None, None, None, None, 80, 30, 30, None,1.0,0,
|
|
|
75 |
|
76 |
]
|
77 |
|
@@ -257,7 +258,7 @@ following the algorithm proposed in [*IP-Composer: Semantic Composition of Visua
|
|
257 |
|
258 |
with gr.Accordion("Advanced options", open=False):
|
259 |
prompt = gr.Textbox(label="Guidance Prompt (Optional)", placeholder="Optional text prompt to guide generation")
|
260 |
-
num_inference_steps = gr.Slider(minimum=1, maximum=50, value=
|
261 |
with gr.Row():
|
262 |
scale = gr.Slider(minimum=0.1, maximum=2.0, value=1.0, step=0.1, label="Scale")
|
263 |
randomize_seed = gr.Checkbox(value=True, label="Randomize seed")
|
|
|
71 |
|
72 |
|
73 |
examples = [
|
74 |
+
['./IP_Composer/assets/objects/mug.png', './IP_Composer/assets/patterns/splash.png', 'patterns (including color)', None, None, None, None, 80, 30, 30, None,1.0,0, 30]
|
75 |
+
['./IP_Composer/assets/emotions/joyful.png', './IP_Composer/assets/emotions/sad.png', 'emotions', './IP_Composer/assets/age/kid.png', 'age', None, None, 30, 30, 30, None,1.0,0, 30]
|
76 |
|
77 |
]
|
78 |
|
|
|
258 |
|
259 |
with gr.Accordion("Advanced options", open=False):
|
260 |
prompt = gr.Textbox(label="Guidance Prompt (Optional)", placeholder="Optional text prompt to guide generation")
|
261 |
+
num_inference_steps = gr.Slider(minimum=1, maximum=50, value=30, step=1, label="num steps")
|
262 |
with gr.Row():
|
263 |
scale = gr.Slider(minimum=0.1, maximum=2.0, value=1.0, step=0.1, label="Scale")
|
264 |
randomize_seed = gr.Checkbox(value=True, label="Randomize seed")
|