File size: 964 Bytes
0259f08
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import subprocess

def env_set():
    subprocess.run(f"pip install streamlit", shell=True)
    subprocess.run(f"pip install pyngrok", shell=True)
    subprocess.run(f"pip install -q openai", shell=True)
    subprocess.run(f"pip install PyPDF2", shell=True)
    subprocess.run(f"pip install python-pptx==0.6.18", shell=True)
    subprocess.run(f"sudo apt-get install -f", shell=True)
    subprocess.run(f"sudo apt-get install -y fonts-nanum", shell=True)
    subprocess.run(f"sudo fc-cache -fv", shell=True)
    subprocess.run(f"rm ~/.cache/matplotlib -rf", shell=True)
    subprocess.run(f"curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb", shell=True)
    subprocess.run(f"curl https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o chrome.deb", shell=True)
    subprocess.run(f"dpkg --install chrome.deb", shell=True)
    subprocess.run(f"apt-get install --fix-broken --assume-yes", shell=True)