Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,9 +64,9 @@ def generate_rap(language, topic, occupation, message):
|
|
| 64 |
|
| 65 |
# Determine button text based on current language
|
| 66 |
if st.session_state['language'] == 'English':
|
| 67 |
-
switch_button_text = '
|
| 68 |
else:
|
| 69 |
-
switch_button_text = '
|
| 70 |
|
| 71 |
# Language switcher button
|
| 72 |
if st.button(switch_button_text):
|
|
|
|
| 64 |
|
| 65 |
# Determine button text based on current language
|
| 66 |
if st.session_state['language'] == 'English':
|
| 67 |
+
switch_button_text = 'Japanese(日本語)'
|
| 68 |
else:
|
| 69 |
+
switch_button_text = 'English'
|
| 70 |
|
| 71 |
# Language switcher button
|
| 72 |
if st.button(switch_button_text):
|