Spaces:
Runtime error
Runtime error
upd
Browse files
app.py
CHANGED
@@ -56,10 +56,6 @@ with demo:
|
|
56 |
#s3 = gr.Slider(label='scale', value=7.5, visible=False)
|
57 |
#s4 = gr.Slider(label='seed', value=1024, visible=False)
|
58 |
|
59 |
-
|
60 |
-
in_language_first = gr.Dropdown(visible=False, value= 'eng_Latn') #'English'
|
61 |
-
in_language_second = gr.Dropdown(visible=False, value= 'zho_Hans') #'Chinese (Simplified)'
|
62 |
-
|
63 |
with gr.Row():
|
64 |
with gr.Column():
|
65 |
in_styles = gr.Dropdown(['水彩-WaterColor', '油画-OilPainting', '粉笔画-Painting', '卡通-Cartoon', '蜡笔画-Pencils', '儿童画-ChildrensPaintings', '探索无限-ExploringTheInfinite'])
|
@@ -67,6 +63,8 @@ with demo:
|
|
67 |
|
68 |
out_ernie = gr.Image(type="pil", label="Ernie output for the given prompt")
|
69 |
#out_gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery") #.style(grid=[2, 3], height="auto")
|
|
|
|
|
70 |
|
71 |
|
72 |
#out_sd = gr.Image(type="pil", label="SD output for the given prompt")
|
|
|
56 |
#s3 = gr.Slider(label='scale', value=7.5, visible=False)
|
57 |
#s4 = gr.Slider(label='seed', value=1024, visible=False)
|
58 |
|
|
|
|
|
|
|
|
|
59 |
with gr.Row():
|
60 |
with gr.Column():
|
61 |
in_styles = gr.Dropdown(['水彩-WaterColor', '油画-OilPainting', '粉笔画-Painting', '卡通-Cartoon', '蜡笔画-Pencils', '儿童画-ChildrensPaintings', '探索无限-ExploringTheInfinite'])
|
|
|
63 |
|
64 |
out_ernie = gr.Image(type="pil", label="Ernie output for the given prompt")
|
65 |
#out_gallery = gr.Gallery(label="Generated images", show_label=False, elem_id="gallery") #.style(grid=[2, 3], height="auto")
|
66 |
+
in_language_first = gr.Dropdown(visible=False, value= 'eng_Latn') #'English'
|
67 |
+
in_language_second = gr.Dropdown(visible=False, value= 'zho_Hans') #'Chinese (Simplified)'
|
68 |
|
69 |
|
70 |
#out_sd = gr.Image(type="pil", label="SD output for the given prompt")
|