sanjeevbora commited on
Commit
9e51523
·
verified ·
1 Parent(s): fa31355

update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import gradio as gr
2
  # import fitz # PyMuPDF for extracting text from PDFs
3
  from langchain.embeddings import HuggingFaceEmbeddings
 
1
+ import os
2
+ os.system("langchain upgrade-imports")
3
+ os.system("pip install accelerate")
4
+ os.system("pip install -i https://pypi.org/simple/ bitsandbytes")
5
+
6
  import gradio as gr
7
  # import fitz # PyMuPDF for extracting text from PDFs
8
  from langchain.embeddings import HuggingFaceEmbeddings