mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 08:06:31 +00:00
fix publish script
This commit is contained in:
@@ -45,7 +45,7 @@ public class InferenceClient : IInferenceClient
|
||||
|
||||
process.OutputDataReceived += (_, e) => { if (e.Data != null) Console.WriteLine(e.Data); };
|
||||
process.ErrorDataReceived += (_, e) => { if (e.Data != null) Console.WriteLine(e.Data); };
|
||||
//process.Start();
|
||||
process.Start();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
||||
@@ -4,8 +4,6 @@ from PyInstaller.utils.hooks import collect_all
|
||||
datas = []
|
||||
binaries = []
|
||||
hiddenimports = ['constants', 'annotation', 'credentials', 'file_data', 'user', 'security', 'secure_model', 'cdn_manager', 'api_client', 'hardware_service', 'remote_command', 'ai_config', 'inference_engine', 'inference', 'remote_command_handler']
|
||||
tmp_ret = collect_all('pyyaml')
|
||||
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
|
||||
tmp_ret = collect_all('jwt')
|
||||
datas += tmp_ret[0]; binaries += tmp_ret[1]; hiddenimports += tmp_ret[2]
|
||||
tmp_ret = collect_all('requests')
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
BorderBrush="DimGray"
|
||||
BorderThickness="0,0,0,1"
|
||||
HorizontalAlignment="Left"
|
||||
Text="admin@azaion.com"
|
||||
Text=""
|
||||
/>
|
||||
<TextBlock Text="Пароль"
|
||||
Grid.Row="2"
|
||||
@@ -89,7 +89,7 @@
|
||||
Width="300"
|
||||
BorderThickness="0,0,0,1"
|
||||
HorizontalAlignment="Left"
|
||||
Password="Az@1on1000Odm$n"/>
|
||||
Password=""/>
|
||||
</Grid>
|
||||
<Button x:Name="LoginBtn"
|
||||
Content="Вхід"
|
||||
|
||||
+3
-5
@@ -75,8 +75,7 @@ cd..
|
||||
echo Download onnx model
|
||||
cd build
|
||||
call cdn_manager.exe download models
|
||||
|
||||
move azaion.* ..\dist\
|
||||
move models ..\dist\
|
||||
cd..
|
||||
|
||||
echo Copy ico
|
||||
@@ -88,7 +87,6 @@ copy %cudnn-folder%\* dist\*
|
||||
@REM don't need
|
||||
del dist\cudnn_adv64_9.dll
|
||||
|
||||
|
||||
set DESTINATION=dist\gps-denied\
|
||||
|
||||
rd /S /Q %DESTINATION%
|
||||
@@ -105,5 +103,5 @@ copy C:\Qt\6.9.0\msvc2022_64\bin\Qt6Core.dll %DESTINATION%
|
||||
mkdir %DESTINATION%\models
|
||||
copy ..\gps-denied-work\models\* %DESTINATION%\models
|
||||
|
||||
@REM echo building installer...
|
||||
@REM iscc build\installer.iss
|
||||
echo building installer...
|
||||
iscc build\installer.iss
|
||||
|
||||
Reference in New Issue
Block a user