hysts HF staff commited on
Commit
bca33c2
1 Parent(s): b156503
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -509,10 +509,10 @@ def set_default_language(request: gr.Request) -> gr.Dropdown:
509
 
510
 
511
  def update_language(language: str) -> gr.Markdown:
512
- if language == "🇺🇸 EN":
513
- return gr.Markdown(value=INTRODUCTION_TEXT)
514
- else:
515
  return gr.Markdown(value=INTRODUCTION_TEXT_JP)
 
 
516
 
517
 
518
  with gr.Blocks(css=custom_css, css_paths="style.css", theme=gr.themes.Base()) as demo:
 
509
 
510
 
511
  def update_language(language: str) -> gr.Markdown:
512
+ if language == "🇯🇵 JP":
 
 
513
  return gr.Markdown(value=INTRODUCTION_TEXT_JP)
514
+ else:
515
+ return gr.Markdown(value=INTRODUCTION_TEXT)
516
 
517
 
518
  with gr.Blocks(css=custom_css, css_paths="style.css", theme=gr.themes.Base()) as demo: