Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,10 @@ def main():
|
|
16 |
text = a2t.predict()
|
17 |
st.write(text)
|
18 |
st.success("Done")
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
22 |
|
23 |
if __name__ == "__main__":
|
24 |
print('RAM memory % used:', psutil.virtual_memory()[2])
|
|
|
16 |
text = a2t.predict()
|
17 |
st.write(text)
|
18 |
st.success("Done")
|
19 |
+
del audio
|
20 |
+
del a2t
|
21 |
+
else:
|
22 |
+
st.warning("Can't get a text π" ,icon="π¨")
|
23 |
|
24 |
if __name__ == "__main__":
|
25 |
print('RAM memory % used:', psutil.virtual_memory()[2])
|