Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,9 +62,9 @@ def generate_requirements(language, instruction, background):
|
|
| 62 |
|
| 63 |
# Determine button text based on current language
|
| 64 |
if st.session_state['language'] == 'English':
|
| 65 |
-
switch_button_text = '
|
| 66 |
else:
|
| 67 |
-
switch_button_text = '
|
| 68 |
|
| 69 |
# Language switcher button
|
| 70 |
if st.button(switch_button_text):
|
|
|
|
| 62 |
|
| 63 |
# Determine button text based on current language
|
| 64 |
if st.session_state['language'] == 'English':
|
| 65 |
+
switch_button_text = 'Japanese(日本語)'
|
| 66 |
else:
|
| 67 |
+
switch_button_text = 'English'
|
| 68 |
|
| 69 |
# Language switcher button
|
| 70 |
if st.button(switch_button_text):
|