Spaces:
Sleeping
Sleeping
Commit
·
c0c7fc7
1
Parent(s):
e5d624b
Updated the app file
Browse files
app.log
CHANGED
|
@@ -17,3 +17,19 @@
|
|
| 17 |
2024-12-29 19:19:34,544 - werkzeug - INFO - 127.0.0.1 - - [29/Dec/2024 19:19:34] "GET / HTTP/1.1" 200 -
|
| 18 |
2024-12-29 19:19:52,868 - werkzeug - INFO - 127.0.0.1 - - [29/Dec/2024 19:19:52] "POST /process HTTP/1.1" 200 -
|
| 19 |
2024-12-29 19:20:10,835 - werkzeug - INFO - 127.0.0.1 - - [29/Dec/2024 19:20:10] "POST /upload HTTP/1.1" 200 -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
2024-12-29 19:19:34,544 - werkzeug - INFO - 127.0.0.1 - - [29/Dec/2024 19:19:34] "GET / HTTP/1.1" 200 -
|
| 18 |
2024-12-29 19:19:52,868 - werkzeug - INFO - 127.0.0.1 - - [29/Dec/2024 19:19:52] "POST /process HTTP/1.1" 200 -
|
| 19 |
2024-12-29 19:20:10,835 - werkzeug - INFO - 127.0.0.1 - - [29/Dec/2024 19:20:10] "POST /upload HTTP/1.1" 200 -
|
| 20 |
+
2024-12-29 19:29:01,463 - __main__ - INFO - Initializing models...
|
| 21 |
+
2024-12-29 19:29:36,603 - jax._src.xla_bridge - INFO - Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
|
| 22 |
+
2024-12-29 19:29:36,616 - jax._src.xla_bridge - INFO - Unable to initialize backend 'tpu': UNIMPLEMENTED: LoadPjrtPlugin is not implemented on windows yet.
|
| 23 |
+
2024-12-29 19:29:41,226 - absl - INFO - Using C:\Users\DELL\AppData\Local\Temp\tfhub_modules to cache modules.
|
| 24 |
+
2024-12-29 19:29:41,260 - tensorflow - WARNING - From d:\Education\My Projects\AUDIO CLASSIFICATION ALL MODELS\project_audio\.conda\lib\site-packages\tensorflow_hub\resolver.py:120: The name tf.gfile.MakeDirs is deprecated. Please use tf.io.gfile.makedirs instead.
|
| 25 |
+
|
| 26 |
+
2024-12-29 19:29:41,282 - tensorflow - WARNING - From d:\Education\My Projects\AUDIO CLASSIFICATION ALL MODELS\project_audio\.conda\lib\site-packages\tensorflow_hub\module_v2.py:126: The name tf.saved_model.load_v2 is deprecated. Please use tf.compat.v2.saved_model.load instead.
|
| 27 |
+
|
| 28 |
+
2024-12-29 19:29:48,537 - absl - INFO - Fingerprint not found. Saved model loading will continue.
|
| 29 |
+
2024-12-29 19:29:48,539 - absl - INFO - path_and_singleprint metric could not be logged. Saved model loading will continue.
|
| 30 |
+
2024-12-29 19:29:48,540 - __main__ - INFO - Models initialized successfully
|
| 31 |
+
2024-12-29 19:29:48,573 - werkzeug - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
| 32 |
+
* Running on all addresses (0.0.0.0)
|
| 33 |
+
* Running on http://127.0.0.1:5000
|
| 34 |
+
* Running on http://192.168.1.2:5000
|
| 35 |
+
2024-12-29 19:29:48,575 - werkzeug - INFO - [33mPress CTRL+C to quit[0m
|
app.py
CHANGED
|
@@ -182,8 +182,4 @@ def upload():
|
|
| 182 |
try:
|
| 183 |
Path(filepath).unlink()
|
| 184 |
except Exception as e:
|
| 185 |
-
logger.error(f"Error deleting file {filepath}: {str(e)}")
|
| 186 |
-
|
| 187 |
-
if __name__ == '__main__':
|
| 188 |
-
# Set debug=False to prevent reloading
|
| 189 |
-
app.run(debug=False, host='0.0.0.0', port=5000)
|
|
|
|
| 182 |
try:
|
| 183 |
Path(filepath).unlink()
|
| 184 |
except Exception as e:
|
| 185 |
+
logger.error(f"Error deleting file {filepath}: {str(e)}")
|
|
|
|
|
|
|
|
|
|
|
|