Spaces:
Runtime error
Runtime error
Update env_set.py
Browse files- env_set.py +3 -0
env_set.py
CHANGED
@@ -4,6 +4,9 @@ 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)
|
|
|
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"pip install python-pptx", shell=True)
|
8 |
+
subprocess.run(f"!wget https://github.com/jgm/pandoc/releases/download/2.14.2/pandoc-2.14.2-linux-amd64.tar.gz", shell=True)
|
9 |
+
subprocess.run(f"!tar -xvf pandoc-2.14.2-linux-amd64.tar.gz", shell=True)
|
10 |
# subprocess.run(f"wget https://nodejs.org/dist/v17.0.1/node-v17.0.1-linux-x64.tar.xz", shell=True)
|
11 |
# subprocess.run(f"tar -xf node-v17.0.1-linux-x64.tar.xz", shell=True)
|
12 |
# subprocess.run(f"mv node-v17.0.1-linux-x64 node", shell=True)
|