sanjeevbora commited on
Commit
6efd821
·
verified ·
1 Parent(s): bd937b0

updated installations

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -4,9 +4,10 @@ import os
4
  # subprocess.run(["/bin/bash", "setup.sh"], check=True)
5
 
6
  os.system('apt-get update && apt-get install -y libmagic1')
7
- os.system('pip install accelerate')
8
- os.system('pip install -i https://pypi.org/simple/ bitsandbytes')
9
-
 
10
 
11
  import gradio as gr
12
  # import fitz # PyMuPDF for extracting text from PDFs
 
4
  # subprocess.run(["/bin/bash", "setup.sh"], check=True)
5
 
6
  os.system('apt-get update && apt-get install -y libmagic1')
7
+ os.system('pip install -U langchain-community')
8
+ os.system('pip install --upgrade accelerate')
9
+ os.system('pip install -i https://pypi.org/simple/ bitsandbytes --upgrade')
10
+ os.system('pip install --upgrade pip')
11
 
12
  import gradio as gr
13
  # import fitz # PyMuPDF for extracting text from PDFs