Spaces:
Runtime error
Runtime error
on1onmangoes
commited on
Commit
•
55e8537
1
Parent(s):
5533cea
Update app.py
Browse files
app.py
CHANGED
@@ -3,12 +3,12 @@ from transformers import pipeline
|
|
3 |
from pydub import AudioSegment, silence
|
4 |
|
5 |
pipe = pipeline('sentiment-analysis')
|
6 |
-
text = st.text_area('
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text)
|
10 |
st.json(out)
|
11 |
|
12 |
-
st.markdown("<h1 style = text align:center;'>
|
13 |
st.markdown("---",unsafe_allow_html=True)
|
14 |
audio=st.file_uploader("Upload Your Audio File", type=['mp3','wav','m4a'])
|
|
|
3 |
from pydub import AudioSegment, silence
|
4 |
|
5 |
pipe = pipeline('sentiment-analysis')
|
6 |
+
text = st.text_area('Enter your notes')
|
7 |
|
8 |
if text:
|
9 |
out = pipe(text)
|
10 |
st.json(out)
|
11 |
|
12 |
+
st.markdown("<h1 style = text align:center;'> Group Therapy Notes </h1>",unsafe_allow_html = True)
|
13 |
st.markdown("---",unsafe_allow_html=True)
|
14 |
audio=st.file_uploader("Upload Your Audio File", type=['mp3','wav','m4a'])
|