mirror of https://github.com/sean1832/GPT-Brain
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
733 B
Batchfile
36 lines
733 B
Batchfile
@echo off
|
|
echo Creating Virtural environment folder...
|
|
|
|
python -m venv venv
|
|
echo Virtural environment created successfully!
|
|
ping 127.0.0.1 -n 2 > NUL
|
|
|
|
echo Activating Virtural environment!
|
|
call .\venv\Scripts\activate
|
|
|
|
echo updating pip
|
|
python -m pip install --upgrade pip
|
|
|
|
pip3 install -r requirements.txt
|
|
ping 127.0.0.1 -n 2 > NUL
|
|
echo Virtual requirements installed successfully!
|
|
cls
|
|
|
|
echo Creating OpenAI API keys profile...
|
|
REM if .user\ not exist, create one
|
|
if not exist .user\ (md .user\)
|
|
|
|
REM copy example prompt
|
|
if not exist .user\prompt (md .user\prompt)
|
|
xcopy "example_prompt\*.*" ".user\prompt" /s /i
|
|
|
|
REM wait 2 tick
|
|
ping 127.0.0.1 -n 2 > NUL
|
|
|
|
cls
|
|
python initial_file_creator.py
|
|
|
|
echo Setup complete! Exiting...
|
|
|
|
|
|
pause |