Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -248,7 +248,10 @@ UPDATED_LANGUAGE_LIST = {
|
|
248 |
}
|
249 |
|
250 |
def rs_change(rs):
|
251 |
-
return gr.update(
|
|
|
|
|
|
|
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)
|