Spaces:
Paused
Paused
update
Browse files
app.py
CHANGED
@@ -2,12 +2,11 @@
|
|
2 |
import os
|
3 |
# # Run setup.sh script before starting the app
|
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
|
|
|
2 |
import os
|
3 |
# # Run setup.sh script before starting the app
|
4 |
# subprocess.run(["/bin/bash", "setup.sh"], check=True)
|
5 |
+
os.system('pip install --upgrade pip')
|
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 |
|
11 |
import gradio as gr
|
12 |
# import fitz # PyMuPDF for extracting text from PDFs
|