mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 12:46:30 +00:00
add production configs, update publish script
This commit is contained in:
+3
-1
@@ -12,6 +12,8 @@ dotnet publish -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=fal
|
||||
cd ..
|
||||
rmdir dist /s /q
|
||||
xcopy Azaion.Suite\bin\Release\net8.0-windows\win-x64\publish dist\ /s /e /q
|
||||
del dist\config.json
|
||||
move dist\config.production.json dist\config.json
|
||||
|
||||
mkdir dist\dummy
|
||||
move dist\Azaion.Annotator.dll dist\dummy\
|
||||
@@ -44,7 +46,7 @@ pyinstaller --onefile ^
|
||||
--hidden-import remote_command_handler ^
|
||||
start.py
|
||||
move dist\start.exe ..\dist\azaion-inference.exe
|
||||
copy config.yaml ..\dist
|
||||
copy config.production.yaml ..\dist\config.yaml
|
||||
cd..
|
||||
|
||||
echo Download onnx model
|
||||
|
||||
Reference in New Issue
Block a user