Spaces:
Runtime error
Runtime error
Update env_set.py
Browse files- env_set.py +5 -5
env_set.py
CHANGED
|
@@ -4,11 +4,11 @@ import os
|
|
| 4 |
def env_set():
|
| 5 |
subprocess.run(f"pip install PyPDF2", shell=True)
|
| 6 |
subprocess.run(f"pip install -q openai", shell=True)
|
| 7 |
-
subprocess.run(f"wget https://nodejs.org/dist/v17.0.1/node-v17.0.1-linux-x64.tar.xz", shell=True)
|
| 8 |
-
subprocess.run(f"tar -xf node-v17.0.1-linux-x64.tar.xz", shell=True)
|
| 9 |
-
subprocess.run(f"mv node-v17.0.1-linux-x64 node", shell=True)
|
| 10 |
-
subprocess.run(f"export PATH=/home/user/app/node/bin:$PATH", shell=True)
|
| 11 |
-
subprocess.run(f"/home/user/app/node/ install -g npm", shell=True)
|
| 12 |
# subprocess.run(f"apt-get install -f", shell=True)
|
| 13 |
# subprocess.run(f"apt-get install -y fonts-nanum", shell=True)
|
| 14 |
# subprocess.run(f"fc-cache -fv", shell=True)
|
|
|
|
| 4 |
def env_set():
|
| 5 |
subprocess.run(f"pip install PyPDF2", shell=True)
|
| 6 |
subprocess.run(f"pip install -q openai", shell=True)
|
| 7 |
+
# subprocess.run(f"wget https://nodejs.org/dist/v17.0.1/node-v17.0.1-linux-x64.tar.xz", shell=True)
|
| 8 |
+
# subprocess.run(f"tar -xf node-v17.0.1-linux-x64.tar.xz", shell=True)
|
| 9 |
+
# subprocess.run(f"mv node-v17.0.1-linux-x64 node", shell=True)
|
| 10 |
+
# subprocess.run(f"export PATH=/home/user/app/node/bin:$PATH", shell=True)
|
| 11 |
+
# subprocess.run(f"/home/user/app/node/ install -g npm", shell=True)
|
| 12 |
# subprocess.run(f"apt-get install -f", shell=True)
|
| 13 |
# subprocess.run(f"apt-get install -y fonts-nanum", shell=True)
|
| 14 |
# subprocess.run(f"fc-cache -fv", shell=True)
|