Spaces:
Sleeping
Sleeping
Commit
·
45f9fdd
1
Parent(s):
59655fc
Updated the .py file name and changed it in Dockerfile
Browse files- Dockerfile +1 -1
- app.log +19 -0
- main.py → app.py +0 -0
Dockerfile
CHANGED
|
@@ -13,4 +13,4 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
| 16 |
-
CMD ["uvicorn", "
|
|
|
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
| 15 |
COPY --chown=user . /app
|
| 16 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
app.log
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
2024-12-29 19:18:28,940 - __main__ - INFO - Initializing models...
|
| 2 |
+
2024-12-29 19:19:19,074 - jax._src.xla_bridge - INFO - Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
|
| 3 |
+
2024-12-29 19:19:19,087 - jax._src.xla_bridge - INFO - Unable to initialize backend 'tpu': UNIMPLEMENTED: LoadPjrtPlugin is not implemented on windows yet.
|
| 4 |
+
2024-12-29 19:19:22,718 - absl - INFO - Using C:\Users\DELL\AppData\Local\Temp\tfhub_modules to cache modules.
|
| 5 |
+
2024-12-29 19:19:22,741 - 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.
|
| 6 |
+
|
| 7 |
+
2024-12-29 19:19:22,759 - 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.
|
| 8 |
+
|
| 9 |
+
2024-12-29 19:19:28,881 - absl - INFO - Fingerprint not found. Saved model loading will continue.
|
| 10 |
+
2024-12-29 19:19:28,883 - absl - INFO - path_and_singleprint metric could not be logged. Saved model loading will continue.
|
| 11 |
+
2024-12-29 19:19:28,884 - __main__ - INFO - Models initialized successfully
|
| 12 |
+
2024-12-29 19:19:28,922 - werkzeug - INFO - [31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m
|
| 13 |
+
* Running on all addresses (0.0.0.0)
|
| 14 |
+
* Running on http://127.0.0.1:5000
|
| 15 |
+
* Running on http://192.168.1.2:5000
|
| 16 |
+
2024-12-29 19:19:28,924 - werkzeug - INFO - [33mPress CTRL+C to quit[0m
|
| 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 -
|
main.py → app.py
RENAMED
|
File without changes
|