Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -178,9 +178,9 @@ with gr.Blocks(css=css) as demo:
|
|
178 |
|
179 |
with gr.Column():
|
180 |
gr.Markdown("<h4>高级设置</h4>")
|
181 |
-
with gr.Accordion("高级定制", open=False):
|
182 |
-
|
183 |
-
|
184 |
# Add more options if needed
|
185 |
|
186 |
generate_button = gr.Button("生成图像", variant='primary')
|
|
|
178 |
|
179 |
with gr.Column():
|
180 |
gr.Markdown("<h4>高级设置</h4>")
|
181 |
+
#with gr.Accordion("高级定制", open=False):
|
182 |
+
negative_prompt = gr.Textbox(label="否定提示(可选)", placeholder="Example: blurry, unfocused", lines=2)
|
183 |
+
image_style = gr.Dropdown(label="选择风格", choices=["None style", "Cinematic", "Digital Art", "Portrait"], value="None style")
|
184 |
# Add more options if needed
|
185 |
|
186 |
generate_button = gr.Button("生成图像", variant='primary')
|