Spaces:
Sleeping
Sleeping
Commit
·
2661a77
1
Parent(s):
a0f11ec
updated app.py
Browse files
app.py
CHANGED
|
@@ -9,13 +9,6 @@ import sys
|
|
| 9 |
# Clear the cache programmatically
|
| 10 |
st.cache_data.clear()
|
| 11 |
st.cache_resource.clear()
|
| 12 |
-
st.write("Streamlit cache has been cleared.")
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
numpy_path = np.__file__
|
| 16 |
-
|
| 17 |
-
st.write("Numpy is installed at: ")
|
| 18 |
-
st.code(numpy_path)
|
| 19 |
|
| 20 |
# Set up logging
|
| 21 |
logging.basicConfig(level=logging.INFO)
|
|
@@ -81,15 +74,4 @@ if processed_file_path:
|
|
| 81 |
data=f,
|
| 82 |
file_name="result_voice.mp4",
|
| 83 |
mime="video/mp4"
|
| 84 |
-
)
|
| 85 |
-
|
| 86 |
-
st.write("Numpy is installed at: ")
|
| 87 |
-
st.code(numpy_path)
|
| 88 |
-
|
| 89 |
-
st.write("python version: ",sys.version)
|
| 90 |
-
|
| 91 |
-
import os
|
| 92 |
-
|
| 93 |
-
st.write("Python Executable:", sys.executable)
|
| 94 |
-
st.write("Python Version:", sys.version)
|
| 95 |
-
st.write("Environment Variables:", os.environ)
|
|
|
|
| 9 |
# Clear the cache programmatically
|
| 10 |
st.cache_data.clear()
|
| 11 |
st.cache_resource.clear()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
# Set up logging
|
| 14 |
logging.basicConfig(level=logging.INFO)
|
|
|
|
| 74 |
data=f,
|
| 75 |
file_name="result_voice.mp4",
|
| 76 |
mime="video/mp4"
|
| 77 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|