-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bat
More file actions
66 lines (57 loc) · 1.62 KB
/
Copy pathsetup.bat
File metadata and controls
66 lines (57 loc) · 1.62 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@echo off
REM ===== AI/ML Research Paper Analysis - Quick Setup =====
REM This script sets up the project and launches the dashboard
echo.
echo ========================================
echo AI/ML Research Paper Analysis Suite
echo Quick Setup & Launch
echo ========================================
echo.
REM Check Python installation
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: Python is not installed or not in PATH
echo Please install Python 3.11+ from python.org
pause
exit /b 1
)
echo [1/4] Python found ✓
REM Create virtual environment if it doesn't exist
if not exist "venv" (
echo [2/4] Creating virtual environment...
python -m venv venv
echo Virtual environment created ✓
) else (
echo [2/4] Virtual environment already exists ✓
)
REM Activate virtual environment
call venv\Scripts\activate.bat
echo Virtual environment activated ✓
REM Install dependencies
echo [3/4] Installing dependencies...
pip install -q -r requirements.txt
echo Dependencies installed ✓
REM Create models directory
if not exist "models" (
mkdir models
echo Models directory created ✓
) else (
echo Models directory exists ✓
)
echo [4/4] Setup complete!
echo.
echo ========================================
echo NEXT STEPS:
echo ========================================
echo.
echo 1. Run Jupyter notebook to train models:
echo jupyter notebook model.ipynb
echo.
echo 2. After models are trained, launch dashboard:
echo streamlit run streamlit_app.py
echo.
echo 3. Dashboard will open at: http://localhost:8501
echo.
echo ========================================
echo.
pause