Correction lancer_serveur.bat (suppression des delimiteurs parasites)
This commit is contained in:
1 parent
9db5b5416d
commit
37b95fce8d
1 file changed
+1
-4
+1
-4
@@ -1,4 +1,3 @@
|
||||
@'
|
||||
@echo off
|
||||
cd /d "%~dp0"
|
||||
echo Dossier du serveur : %CD%
|
||||
@@ -7,14 +6,12 @@ set FACING_KB=kb_facing
|
||||
set FACING_DATA=data_facing
|
||||
set FACING_BACKBONE=efficientnet
|
||||
set FACING_DETECTOR=detector\best.pt
|
||||
rem set FACING_WEIGHTS=C:\chemin\vers\vos\poids.pt
|
||||
|
||||
if not exist data_facing mkdir data_facing
|
||||
|
||||
rem Python de l'environnement conda product-detection (sinon python du PATH)
|
||||
rem Python de l environnement conda product-detection, sinon python du PATH
|
||||
set PYEXE=%USERPROFILE%\miniconda3\envs\product-detection\python.exe
|
||||
if not exist "%PYEXE%" set PYEXE=python
|
||||
|
||||
"%PYEXE%" -m uvicorn api_server:app --host 0.0.0.0 --port 2000
|
||||
pause
|
||||
'@ | Set-Content lancer_serveur.bat -Encoding ascii
|
||||
Reference in new issue
Block a user