CineAI commited on
Commit
0e1ae2b
·
verified ·
1 Parent(s): 2e5c193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -6,8 +6,9 @@ import streamlit as st
6
  from audio2text.a2t import A2T
7
 
8
  def main():
9
- text = A2T()
10
- st.write(text.get_text())
 
11
 
12
  if __name__ == "__main__":
13
  print('RAM memory % used:', psutil.virtual_memory()[2])
 
6
  from audio2text.a2t import A2T
7
 
8
  def main():
9
+ a2t = A2T()
10
+ text = a2t.get_text()
11
+ st.write(text)
12
 
13
  if __name__ == "__main__":
14
  print('RAM memory % used:', psutil.virtual_memory()[2])