Spaces:
Paused
Paused
updated installations
Browse files
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
|
8 |
-
os.system('pip install
|
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
|