on1onmangoes commited on
Commit
55e8537
1 Parent(s): 5533cea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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('enter some text')
7
 
8
  if text:
9
  out = pipe(text)
10
  st.json(out)
11
 
12
- st.markdown("<h1 style = text align:center;'> Audio to Text Convertor </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'])
 
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'])