Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files- Dockerfile +1 -1
- requirements.txt +5 -3
Dockerfile
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
# Use an official Python runtime as the parent image
|
2 |
-
FROM python:3.
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
|
|
1 |
# Use an official Python runtime as the parent image
|
2 |
+
FROM python:3.11-slim
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
requirements.txt
CHANGED
@@ -1,9 +1,11 @@
|
|
1 |
fastapi==0.74.*
|
2 |
-
|
|
|
3 |
transformers==4.*
|
4 |
torch==1.11.*
|
5 |
numpy<2.0.0
|
6 |
mysql-connector-python==8.0.*
|
7 |
-
groq==0.
|
8 |
pydantic==1.9.*
|
9 |
-
flask
|
|
|
|
1 |
fastapi==0.74.*
|
2 |
+
|
3 |
+
requests==2.31.*
|
4 |
transformers==4.*
|
5 |
torch==1.11.*
|
6 |
numpy<2.0.0
|
7 |
mysql-connector-python==8.0.*
|
8 |
+
groq==0.9.0
|
9 |
pydantic==1.9.*
|
10 |
+
flask
|
11 |
+
urllib3>=1.26,<2
|