Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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 (
|
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)
|