Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -352,7 +352,7 @@ def main():
|
|
352 |
ai_response = get_ai_response(user_input, emotion_predictions, detected_language)
|
353 |
|
354 |
# Display AI Response
|
355 |
-
st.subheader(LANGUAGES[selected_language]['response_header'])
|
356 |
|
357 |
# Show dominant emotion and response language
|
358 |
dominant_emotion = max(emotion_predictions, key=lambda x: x['score'])
|
@@ -363,7 +363,7 @@ def main():
|
|
363 |
|
364 |
# Display the response in a nice container
|
365 |
with st.container():
|
366 |
-
st.markdown(f"**🤖 AI Response:**")
|
367 |
st.write(ai_response)
|
368 |
|
369 |
# Add emotion intensity indicator
|
|
|
352 |
ai_response = get_ai_response(user_input, emotion_predictions, detected_language)
|
353 |
|
354 |
# Display AI Response
|
355 |
+
st.subheader(f"🤖 {LANGUAGES[selected_language]['response_header']}")
|
356 |
|
357 |
# Show dominant emotion and response language
|
358 |
dominant_emotion = max(emotion_predictions, key=lambda x: x['score'])
|
|
|
363 |
|
364 |
# Display the response in a nice container
|
365 |
with st.container():
|
366 |
+
#st.markdown(f"**🤖 AI Response:**")
|
367 |
st.write(ai_response)
|
368 |
|
369 |
# Add emotion intensity indicator
|