Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	
		jhj0517
		
	commited on
		
		
					Commit 
							
							·
						
						f458c92
	
1
								Parent(s):
							
							8dc115b
								
Update pip before installing
Browse files- Install.bat +1 -0
- Install.sh +1 -0
    	
        Install.bat
    CHANGED
    
    | @@ -8,6 +8,7 @@ echo checked the venv folder. now installing requirements.. | |
| 8 |  | 
| 9 | 
             
            call "%~dp0\venv\scripts\activate"
         | 
| 10 |  | 
|  | |
| 11 | 
             
            pip install -r requirements.txt
         | 
| 12 |  | 
| 13 | 
             
            if errorlevel 1 (
         | 
|  | |
| 8 |  | 
| 9 | 
             
            call "%~dp0\venv\scripts\activate"
         | 
| 10 |  | 
| 11 | 
            +
            python -m pip install -U pip
         | 
| 12 | 
             
            pip install -r requirements.txt
         | 
| 13 |  | 
| 14 | 
             
            if errorlevel 1 (
         | 
    	
        Install.sh
    CHANGED
    
    | @@ -7,6 +7,7 @@ fi | |
| 7 |  | 
| 8 | 
             
            source venv/bin/activate
         | 
| 9 |  | 
|  | |
| 10 | 
             
            pip install -r requirements.txt && echo "Requirements installed successfully." || {
         | 
| 11 | 
             
                echo ""
         | 
| 12 | 
             
                echo "Requirements installation failed. Please remove the venv folder and run the script again."
         | 
|  | |
| 7 |  | 
| 8 | 
             
            source venv/bin/activate
         | 
| 9 |  | 
| 10 | 
            +
            python -m pip install -U pip
         | 
| 11 | 
             
            pip install -r requirements.txt && echo "Requirements installed successfully." || {
         | 
| 12 | 
             
                echo ""
         | 
| 13 | 
             
                echo "Requirements installation failed. Please remove the venv folder and run the script again."
         |