Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,9 +56,9 @@ def correct_text(language, input_text):
|
|
| 56 |
|
| 57 |
# Determine button text based on current language
|
| 58 |
if st.session_state['language'] == 'English':
|
| 59 |
-
switch_button_text = '
|
| 60 |
else:
|
| 61 |
-
switch_button_text = '
|
| 62 |
|
| 63 |
# Language switcher button
|
| 64 |
if st.button(switch_button_text):
|
|
|
|
| 56 |
|
| 57 |
# Determine button text based on current language
|
| 58 |
if st.session_state['language'] == 'English':
|
| 59 |
+
switch_button_text = 'Japanese(日本語)'
|
| 60 |
else:
|
| 61 |
+
switch_button_text = 'English'
|
| 62 |
|
| 63 |
# Language switcher button
|
| 64 |
if st.button(switch_button_text):
|