changed dockerfile

This commit is contained in:
2026-04-29 14:40:05 +02:00
parent 86ed766e27
commit ef1daa3183
3 changed files with 3 additions and 3 deletions
+2
View File
@@ -14,6 +14,8 @@ COPY . .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
# Make sure the startup script is executable
RUN chmod +x start_server.sh
-2
View File
@@ -1,7 +1,5 @@
fastapi==0.136.1
networkx==3.6.1
numpy==2.3.4
torch==2.1.2
torchvision==0.16.2
tqdm==4.67.3
uvicorn==0.46.0
+1 -1
View File
@@ -4,7 +4,7 @@ import './Bird_CNN.css'
function Bird_CNN() {
const apiUrl = process.env.NODE_ENV === "development"
? "http://127.0.0.1:8000"
: "https://api.myapp.com";
: "http://134.60.154.7:8000";
const [file, setFile] = useState(null);
const [birdClass, setBirdClass] = useState(null);