ysharma HF staff commited on
Commit
bdfcd29
1 Parent(s): 5f0ecb1
Files changed (1) hide show
  1. app.py +2 -2
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.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")
 
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")