arjunanand13 commited on
Commit
b1fccc0
·
verified ·
1 Parent(s): 3d01c54

Update qa_bot_chatgpt.py

Browse files
Files changed (1) hide show
  1. qa_bot_chatgpt.py +2 -1
qa_bot_chatgpt.py CHANGED
@@ -11,8 +11,9 @@ class QAInfer:
11
  def __init__(self):
12
  torch.cuda.empty_cache()
13
 
14
- self.chatgpt_client = OpenAI(api_key="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")
15
 
 
16
  def extract_text_from_pdf(self, pdf_path):
17
  """Extract text from a PDF file."""
18
  reader = PdfReader(pdf_path)
 
11
  def __init__(self):
12
  torch.cuda.empty_cache()
13
 
14
+ # self.chatgpt_client = OpenAI(api_key="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")
15
 
16
+ self.chatgpt_client = OpenAI(api_key="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")
17
  def extract_text_from_pdf(self, pdf_path):
18
  """Extract text from a PDF file."""
19
  reader = PdfReader(pdf_path)