Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -171,6 +171,7 @@ footer {visibility: hidden}
|
|
171 |
'''
|
172 |
|
173 |
theme = gr.themes.Soft()
|
|
|
174 |
with gr.Blocks(css=css, theme=theme) as demo:
|
175 |
gr.Markdown(DESCRIPTION)
|
176 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button", visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1")
|
@@ -184,10 +185,9 @@ with gr.Blocks(css=css, theme=theme) as demo:
|
|
184 |
download_link = gr.HTML(label="Download", show_label=False)
|
185 |
|
186 |
with gr.Accordion("Advanced options", open=False):
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
|
191 |
negative_prompt = gr.Text(label="Negative prompt", max_lines=1, placeholder="Enter a negative prompt", visible=False)
|
192 |
prompt_2 = gr.Text(label="Prompt 2", max_lines=1, placeholder="Enter your second prompt", visible=False)
|
193 |
negative_prompt_2 = gr.Text(label="Negative prompt 2", max_lines=1, placeholder="Enter a second negative prompt", visible=False)
|
|
|
171 |
'''
|
172 |
|
173 |
theme = gr.themes.Soft()
|
174 |
+
|
175 |
with gr.Blocks(css=css, theme=theme) as demo:
|
176 |
gr.Markdown(DESCRIPTION)
|
177 |
gr.DuplicateButton(value="Duplicate Space for private use", elem_id="duplicate-button", visible=os.getenv("SHOW_DUPLICATE_BUTTON") == "1")
|
|
|
185 |
download_link = gr.HTML(label="Download", show_label=False)
|
186 |
|
187 |
with gr.Accordion("Advanced options", open=False):
|
188 |
+
use_negative_prompt = gr.Checkbox(label="Use negative prompt", value=False)
|
189 |
+
use_prompt_2 = gr.Checkbox(label="Use prompt 2", value=False)
|
190 |
+
use_negative_prompt_2 = gr.Checkbox(label="Use negative prompt 2", value=False)
|
|
|
191 |
negative_prompt = gr.Text(label="Negative prompt", max_lines=1, placeholder="Enter a negative prompt", visible=False)
|
192 |
prompt_2 = gr.Text(label="Prompt 2", max_lines=1, placeholder="Enter your second prompt", visible=False)
|
193 |
negative_prompt_2 = gr.Text(label="Negative prompt 2", max_lines=1, placeholder="Enter a second negative prompt", visible=False)
|