File size: 604 Bytes
4292dc6
f9714b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4292dc6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@echo off
REM === CONFIGURATION ===
set ENABLE_NOTEBOOK=true
set ENABLE_MESH=true
set NOTEBOOK_PATH=user_notebook.txt
set MESH_PORT=8080

echo --------------------------
echo Installing requirements...
echo --------------------------
pip install -r requirements.txt

echo --------------------------
echo Running HMP REPL-agent...
echo --------------------------

set ARGS=

if "%ENABLE_NOTEBOOK%"=="true" (
    set ARGS=%ARGS% --enable-user-notebook --notebook-path %NOTEBOOK_PATH%
)

if "%ENABLE_MESH%"=="true" (
    set ARGS=%ARGS% --enable-mesh --mesh-port %MESH_PORT%
)

python repl.py %ARGS%

pause