Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,9 @@ subprocess.run(['git', 'clone', 'https://github.com/alamin655/replit-3B-inferenc
|
|
7 |
# Change directory
|
8 |
os.chdir('replit-3B-inference')
|
9 |
|
|
|
|
|
|
|
10 |
# Install requirements
|
11 |
subprocess.run(['pip', 'install', '-r', 'requirements.txt'])
|
12 |
|
|
|
7 |
# Change directory
|
8 |
os.chdir('replit-3B-inference')
|
9 |
|
10 |
+
# Upgrade pip
|
11 |
+
subprocess.run (['python', '-m', 'pip', 'install', '--upgrade', 'pip'])
|
12 |
+
|
13 |
# Install requirements
|
14 |
subprocess.run(['pip', 'install', '-r', 'requirements.txt'])
|
15 |
|