Spaces:
Runtime error
Runtime error
updt
Browse files
app.py
CHANGED
@@ -63,8 +63,8 @@ with demo:
|
|
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.
|
67 |
-
in_language_second = gr.
|
68 |
|
69 |
|
70 |
#out_sd = gr.Image(type="pil", label="SD output for the given prompt")
|
|
|
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.Textbox(visible=False, value= 'eng_Latn') #'English'
|
67 |
+
in_language_second = gr.Textbox(visible=False, value= 'zho_Hans') #'Chinese (Simplified)'
|
68 |
|
69 |
|
70 |
#out_sd = gr.Image(type="pil", label="SD output for the given prompt")
|