jaisun2004 commited on
Commit
07d82a4
Β·
verified Β·
1 Parent(s): 7d07684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -14,7 +14,7 @@ from datetime import datetime
14
  st.set_page_config(page_title="Atma.ai - Session Summarizer + Export", layout="wide")
15
 
16
  st.title("🧠 Atma.ai – Advanced Mental Health Session Summarizer")
17
- st.markdown("Upload a therapy session audio (Indian Accents - Tanglish etc) to view the transcript, summary, emotional analysis, and export everything to Word!")
18
 
19
  # Upload audio
20
  uploaded_file = st.file_uploader("πŸŽ™οΈ Upload audio file", type=["wav", "mp3", "m4a"])
@@ -89,6 +89,7 @@ tab1, tab2, tab3, tab4 = st.tabs(["πŸ“ Transcript", "πŸ“‹ Summary", "πŸ’¬ Emoti
89
 
90
 
91
  with tab3:
 
92
  with tab4:
93
  st.subheader("πŸ“ˆ Emotional Trends Over Time")
94
 
@@ -160,4 +161,4 @@ with tab4:
160
  st.error(f"❌ Processing failed: {err}")
161
  finally:
162
  if os.path.exists(audio_path):
163
- os.remove(audio_path)
 
14
  st.set_page_config(page_title="Atma.ai - Session Summarizer + Export", layout="wide")
15
 
16
  st.title("🧠 Atma.ai – Advanced Mental Health Session Summarizer")
17
+ st.markdown("Upload a therapy session audio (Tamil-English mix) to view the transcript, summary, emotional analysis, and export everything to Word!")
18
 
19
  # Upload audio
20
  uploaded_file = st.file_uploader("πŸŽ™οΈ Upload audio file", type=["wav", "mp3", "m4a"])
 
89
 
90
 
91
  with tab3:
92
+
93
  with tab4:
94
  st.subheader("πŸ“ˆ Emotional Trends Over Time")
95
 
 
161
  st.error(f"❌ Processing failed: {err}")
162
  finally:
163
  if os.path.exists(audio_path):
164
+ os.remove(audio_path)