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