amirjamali commited on
Commit
5235a31
·
unverified ·
1 Parent(s): 6252089

Fix indentation in expert analysis display section of Streamlit app for improved layout

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -3
src/streamlit_app.py CHANGED
@@ -797,11 +797,10 @@ with tab1:
797
  st.markdown(f"**Detected Accent:** {results['accent']}")
798
  st.markdown(f"**English Proficiency:** {results['english_confidence']:.1f}%")
799
  st.markdown(f"**Accent Confidence:** {results['accent_confidence']:.1f}%")
800
-
801
- # Show explanation in a box
802
  st.markdown("### Expert Analysis")
803
  st.info(results['explanation'])
804
- with col2:
805
  if results['audio_viz']:
806
  try:
807
  st.pyplot(results['audio_viz'])
 
797
  st.markdown(f"**Detected Accent:** {results['accent']}")
798
  st.markdown(f"**English Proficiency:** {results['english_confidence']:.1f}%")
799
  st.markdown(f"**Accent Confidence:** {results['accent_confidence']:.1f}%")
800
+ # Show explanation in a box
 
801
  st.markdown("### Expert Analysis")
802
  st.info(results['explanation'])
803
+ with col2:
804
  if results['audio_viz']:
805
  try:
806
  st.pyplot(results['audio_viz'])