Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ st.markdown(
|
|
| 56 |
|
| 57 |
# Only show language selection when no chat has started
|
| 58 |
if not st.session_state.get("chat_history") or len(st.session_state.chat_history) == 0:
|
| 59 |
-
language = st.selectbox("Select Language", options=["English", "
|
| 60 |
|
| 61 |
# Import the Gen AI SDK using the correct package.
|
| 62 |
try:
|
|
@@ -167,7 +167,7 @@ def generate_response(user_input):
|
|
| 167 |
response_text = f"Error generating response: {e}"
|
| 168 |
return response_text
|
| 169 |
|
| 170 |
-
st.title("
|
| 171 |
st.write("Ask questions about business ideas and related financial schemes below:")
|
| 172 |
|
| 173 |
# Display chat history
|
|
|
|
| 56 |
|
| 57 |
# Only show language selection when no chat has started
|
| 58 |
if not st.session_state.get("chat_history") or len(st.session_state.chat_history) == 0:
|
| 59 |
+
language = st.selectbox("Select Language", options=["English", "हिन्दी", "தமிழ்", "తెలుగు", "മലയാളം"])
|
| 60 |
|
| 61 |
# Import the Gen AI SDK using the correct package.
|
| 62 |
try:
|
|
|
|
| 167 |
response_text = f"Error generating response: {e}"
|
| 168 |
return response_text
|
| 169 |
|
| 170 |
+
st.title("HER-FINHUB")
|
| 171 |
st.write("Ask questions about business ideas and related financial schemes below:")
|
| 172 |
|
| 173 |
# Display chat history
|