yiliny commited on
Commit
4ff32d6
1 Parent(s): cfc810b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -248,7 +248,10 @@ UPDATED_LANGUAGE_LIST = {
248
  }
249
 
250
  def rs_change(rs):
251
- return gr.update(choices=UPDATED_LANGUAGE_LIST[rs], value=None)
 
 
 
252
 
253
  with gr.Blocks(css="style.css") as demo:
254
  gr.Markdown(DESCRIPTION)
 
248
  }
249
 
250
  def rs_change(rs):
251
+ return gr.update(
252
+ choices=UPDATED_LANGUAGE_LIST[rs],
253
+ value=UPDATED_LANGUAGE_LIST[rs][0],
254
+ )
255
 
256
  with gr.Blocks(css="style.css") as demo:
257
  gr.Markdown(DESCRIPTION)