Spaces:
Runtime error
Runtime error
Update env_set.py
Browse files- env_set.py +3 -7
env_set.py
CHANGED
@@ -1,14 +1,10 @@
|
|
1 |
import subprocess
|
2 |
|
3 |
def env_set():
|
4 |
-
subprocess.run(f"pip install streamlit", shell=True)
|
5 |
-
subprocess.run(f"pip install pyngrok", shell=True)
|
6 |
-
subprocess.run(f"pip install -q openai", shell=True)
|
7 |
subprocess.run(f"pip install PyPDF2", shell=True)
|
8 |
-
subprocess.run(f"
|
9 |
-
subprocess.run(f"
|
10 |
-
subprocess.run(f"
|
11 |
-
subprocess.run(f"sudo fc-cache -fv", shell=True)
|
12 |
subprocess.run(f"rm ~/.cache/matplotlib -rf", shell=True)
|
13 |
subprocess.run(f"curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb", shell=True)
|
14 |
subprocess.run(f"curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb", shell=True)
|
|
|
1 |
import subprocess
|
2 |
|
3 |
def env_set():
|
|
|
|
|
|
|
4 |
subprocess.run(f"pip install PyPDF2", shell=True)
|
5 |
+
subprocess.run(f"apt-get install -f", shell=True)
|
6 |
+
subprocess.run(f"apt-get install -y fonts-nanum", shell=True)
|
7 |
+
subprocess.run(f"fc-cache -fv", shell=True)
|
|
|
8 |
subprocess.run(f"rm ~/.cache/matplotlib -rf", shell=True)
|
9 |
subprocess.run(f"curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb", shell=True)
|
10 |
subprocess.run(f"curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb", shell=True)
|