Chelsea / app.py
CineAI's picture
Update app.py
0e1ae2b verified
raw
history blame
348 Bytes
# version - ArticMonkey:19.03.24:1743
import psutil
import streamlit as st
from audio2text.a2t import A2T
def main():
a2t = A2T()
text = a2t.get_text()
st.write(text)
if __name__ == "__main__":
print('RAM memory % used:', psutil.virtual_memory()[2])
print('RAM Used (GB):', psutil.virtual_memory()[3]/1000000000)
main()