Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -49,14 +49,14 @@ with demo:
|
|
49 |
out_text_chinese = gr.Textbox(label="Text in Simplified Chinese")
|
50 |
b1 = gr.Button("English to Simplified Chinese")
|
51 |
|
52 |
-
s1 = gr.Slider(label='samples', value=4, visible=False)
|
53 |
-
s2 = gr.Slider(label='steps', value=45, visible=False)
|
54 |
-
s3 = gr.Slider(label='scale', value=7.5, visible=False)
|
55 |
-
s4 = gr.Slider(label='seed', value=1024, visible=False)
|
56 |
|
57 |
|
58 |
-
in_language_first = gr.Dropdown(visible=False, value= 'eng_Latn') #'English'
|
59 |
-
in_language_second = gr.Dropdown(visible=False, value= 'zho_Hans') #'Chinese (Simplified)'
|
60 |
|
61 |
with gr.Row():
|
62 |
in_styles = gr.Dropdown(['水彩-WaterColor', '油画-OilPainting', '粉笔画-Painting', '卡通-Cartoon', '蜡笔画-Pencils', '儿童画-ChildrensPaintings', '探索无限-ExploringTheInfinite'])
|
|
|
49 |
out_text_chinese = gr.Textbox(label="Text in Simplified Chinese")
|
50 |
b1 = gr.Button("English to Simplified Chinese")
|
51 |
|
52 |
+
#s1 = gr.Slider(label='samples', value=4, visible=False)
|
53 |
+
#s2 = gr.Slider(label='steps', value=45, visible=False)
|
54 |
+
#s3 = gr.Slider(label='scale', value=7.5, visible=False)
|
55 |
+
#s4 = gr.Slider(label='seed', value=1024, visible=False)
|
56 |
|
57 |
|
58 |
+
in_language_first = gr.Dropdown(visible=False, value= 'eng_Latn') #'English'
|
59 |
+
in_language_second = gr.Dropdown(visible=False, value= 'zho_Hans') #'Chinese (Simplified)'
|
60 |
|
61 |
with gr.Row():
|
62 |
in_styles = gr.Dropdown(['水彩-WaterColor', '油画-OilPainting', '粉笔画-Painting', '卡通-Cartoon', '蜡笔画-Pencils', '儿童画-ChildrensPaintings', '探索无限-ExploringTheInfinite'])
|