Mary12 commited on
Commit
96086b6
·
1 Parent(s): bd3c585

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  import re
3
  from pypdf import PdfReader
4
  from transformers import AutoTokenizer, AutoModelForQuestionAnswering, pipeline
5
-
6
 
7
  def remove_references(text):
8
  text = re.sub(r'\[\d+\]', '', text) ##[ref]
 
2
  import re
3
  from pypdf import PdfReader
4
  from transformers import AutoTokenizer, AutoModelForQuestionAnswering, pipeline
5
+ import docx
6
 
7
  def remove_references(text):
8
  text = re.sub(r'\[\d+\]', '', text) ##[ref]