binh99 commited on
Commit
33a25ad
·
2 Parent(s): 1d0638d 1f91b7c

Merge branch 'main' of https://huggingface.co/spaces/QAI/Chat_QnA_v2

Browse files
Files changed (3) hide show
  1. app.py +1 -1
  2. packages.txt +2 -0
  3. requirements.txt +4 -2
app.py CHANGED
@@ -277,4 +277,4 @@ with gr.Blocks(css=customCSS, theme=beautiful_theme) as demo:
277
  >>>>>>> 2cb7b56a3054d0b5febf8ed9db8c59395b2d0327
278
  outputs=[chatbot, history])
279
  submitBtn.click(lambda: "", None, user_input)
280
- demo.queue(concurrency_count=10).launch(server_name="0.0.0.0", server_port=7862)
 
277
  >>>>>>> 2cb7b56a3054d0b5febf8ed9db8c59395b2d0327
278
  outputs=[chatbot, history])
279
  submitBtn.click(lambda: "", None, user_input)
280
+ demo.queue(concurrency_count=10).launch(server_name="0.0.0.0", server_port=7862)
packages.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ poppler-utils
2
+ tesseract-ocr
requirements.txt CHANGED
@@ -1,7 +1,9 @@
1
  gradio
2
- markdown
3
  PyMuPDF
4
  openai
5
  tensorflow_hub
6
  scikit-learn
7
- tensorflow
 
 
 
 
1
  gradio
 
2
  PyMuPDF
3
  openai
4
  tensorflow_hub
5
  scikit-learn
6
+ tensorflow
7
+ pytesseract
8
+ pdf2image
9
+ pillow