AC02-ML / api /open_test_interface.bat
deropxyz's picture
init
03bcd34
raw
history blame contribute delete
866 Bytes
@echo off
echo ========================================
echo Opening Test Interface
echo ========================================
echo.
REM Check if index.html exists
if not exist "index.html" (
echo ERROR: index.html not found in current directory
echo Please ensure you are running this from the 'api' folder
pause
exit /b 1
)
echo Opening index.html in default browser...
echo.
echo Make sure the API server is running!
echo If not, run: start_server.bat
echo.
echo API should be available at: http://localhost:8000
echo.
REM Open in default browser
start "" "index.html"
echo.
echo Test interface opened successfully!
echo.
echo Tips:
echo 1. Check API status indicator (top-right corner)
echo 2. Try preset scenarios: Healthy, Tool Wear, Overstrain, Cooling
echo 3. For batch processing, upload CSV with required columns
echo.
pause