Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
CursedPrograms committed Feb 9, 2024
1 parent 6f9e1c0 commit 5c40782
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ transformers==4.37.1
pillow==10.2.0
transformers==4.37.1
torch==1.10.0
tkinter==8.6
tkinter==8.6
flask==3.0.0
15 changes: 15 additions & 0 deletions run-server.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@echo off

set "VENV_DIR=psdenv"

rem
if not exist "%VENV_DIR%" (
rem
python -m venv "%VENV_DIR%"
)

rem
call "%VENV_DIR%\Scripts\activate" && python app.py

rem
pause

0 comments on commit 5c40782

Please sign in to comment.