Spaces:
Runtime error
Runtime error
root
commited on
Commit
·
6906c28
1
Parent(s):
06f7e20
modify the dropdown
Browse files
app.py
CHANGED
@@ -243,14 +243,15 @@ if __name__ == "__main__":
|
|
243 |
rounded=(True, True, True, True),
|
244 |
)
|
245 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
246 |
-
class_draw = gr.
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
|
|
254 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
255 |
style_draw = gr.CheckboxGroup(["蒸汽朋克(steampunk)", "电影摄影风格(film photography)",
|
256 |
"概念艺术(concept art)", "Warming lighting",
|
|
|
243 |
rounded=(True, True, True, True),
|
244 |
)
|
245 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
246 |
+
class_draw = gr.Radio(choices=["通用(general)","国画(traditional Chinese painting)",], value="通用(general)", show_label=True, label='生成类型(type)')
|
247 |
+
# class_draw = gr.Dropdown(["通用(general)", "国画(traditional Chinese painting)",
|
248 |
+
# "照片,摄影(picture photography)", "油画(oil painting)",
|
249 |
+
# "铅笔素描(pencil sketch)", "CG",
|
250 |
+
# "水彩画(watercolor painting)", "水墨画(ink and wash)",
|
251 |
+
# "插画(illustrations)", "3D", "图生图(img2img)"],
|
252 |
+
# label="生成类型(type)",
|
253 |
+
# show_label=True,
|
254 |
+
# value="通用(general)")
|
255 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
256 |
style_draw = gr.CheckboxGroup(["蒸汽朋克(steampunk)", "电影摄影风格(film photography)",
|
257 |
"概念艺术(concept art)", "Warming lighting",
|