Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -91,10 +91,10 @@ class GradioDemo:
|
|
91 |
with gr.Group() as inputs:
|
92 |
prompt = gr.Textbox(label="Prompt", value="a cat against orange ground, studio")
|
93 |
with gr.Accordion('OMS Prompt'):
|
94 |
-
oms_prompt_checkbox = gr.Checkbox(info="Inconsistent OMS prompt allows the additional control of low freq info, default is the same as Prompt.", label="Adding OMS Prompt", value=True)
|
95 |
oms_prompt = gr.Textbox(label="OMS Prompt", value="a black cat", info='try "a black cat" and "a black room" for diverse control.')
|
96 |
with gr.Accordion('OMS Guidance'):
|
97 |
-
oms_cfg_scale_checkbox = gr.Checkbox(info="OMS Guidance will enhance the OMS prompt, specially focus on color and brightness.
|
98 |
oms_guidance_scale = gr.Slider(label="OMS Guidance Scale", minimum=1.0, maximum=5.0, value=2., step=0.1)
|
99 |
run_button = gr.Button(value="Generate images")
|
100 |
with gr.Accordion("Advanced options", open=False):
|
|
|
91 |
with gr.Group() as inputs:
|
92 |
prompt = gr.Textbox(label="Prompt", value="a cat against orange ground, studio")
|
93 |
with gr.Accordion('OMS Prompt'):
|
94 |
+
oms_prompt_checkbox = gr.Checkbox(info="Inconsistent OMS prompt allows the additional control of low freq info, default is the same as Prompt. \n Tips:When there is a conflict between the OMS prompt and the base prompt in describing the same object, the model will respect the base prompt.", label="Adding OMS Prompt", value=True)
|
95 |
oms_prompt = gr.Textbox(label="OMS Prompt", value="a black cat", info='try "a black cat" and "a black room" for diverse control.')
|
96 |
with gr.Accordion('OMS Guidance'):
|
97 |
+
oms_cfg_scale_checkbox = gr.Checkbox(info="OMS Guidance will enhance the OMS prompt, specially focus on color and brightness.", label="Adding OMS Guidance", value=True)
|
98 |
oms_guidance_scale = gr.Slider(label="OMS Guidance Scale", minimum=1.0, maximum=5.0, value=2., step=0.1)
|
99 |
run_button = gr.Button(value="Generate images")
|
100 |
with gr.Accordion("Advanced options", open=False):
|