SoulMind01 commited on
Commit
a16576a
·
1 Parent(s): 6b66c87

Added setup file. `.bat` for Windows, `.sh` for Linux

Browse files
Files changed (2) hide show
  1. setup.bat +16 -0
  2. setup.sh +15 -0
setup.bat ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ echo Creating virtual environment...
3
+ python -m venv tf_test_env
4
+
5
+ echo Activating virtual environment...
6
+ call tf_test_env\Scripts\activate
7
+
8
+ echo Upgrading pip...
9
+ python -m pip install --upgrade pip
10
+
11
+ echo Installing requirements...
12
+ pip install -r requirements.txt
13
+
14
+ echo Setup complete! To activate the environment, run:
15
+ echo tf_test_env\Scripts\activate
16
+ pause
setup.sh ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ echo "Creating virtual environment..."
3
+ python3 -m venv tf_test_env
4
+
5
+ echo "Activating virtual environment..."
6
+ source tf_test_env/bin/activate
7
+
8
+ echo "Upgrading pip..."
9
+ python -m pip install --upgrade pip
10
+
11
+ echo "Installing requirements..."
12
+ pip install -r requirements.txt
13
+
14
+ echo "Setup complete! To activate the environment, run:"
15
+ echo "source tf_test_env/bin/activate"