Spaces:
Sleeping
Sleeping
Update qa_bot_chatgpt.py
Browse files- qa_bot_chatgpt.py +1 -1
qa_bot_chatgpt.py
CHANGED
|
@@ -13,7 +13,7 @@ class QAInfer:
|
|
| 13 |
|
| 14 |
# self.chatgpt_client = OpenAI(api_key="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")
|
| 15 |
|
| 16 |
-
self.chatgpt_client = OpenAI(api_key="sk-
|
| 17 |
def extract_text_from_pdf(self, pdf_path):
|
| 18 |
"""Extract text from a PDF file."""
|
| 19 |
reader = PdfReader(pdf_path)
|
|
|
|
| 13 |
|
| 14 |
# self.chatgpt_client = OpenAI(api_key="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")
|
| 15 |
|
| 16 |
+
self.chatgpt_client = OpenAI(api_key="sk-1xLgiKe7G7rhCGLDYUkxtXZHHi5NiT3BlbkFJTRBjEsKNNj4")
|
| 17 |
def extract_text_from_pdf(self, pdf_path):
|
| 18 |
"""Extract text from a PDF file."""
|
| 19 |
reader = PdfReader(pdf_path)
|