nsultan5 commited on
Commit
0e10e9c
·
verified ·
1 Parent(s): 3521cd8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def load_pdf(file):
18
  # Summarization function using GPT-4
19
  def summarize_pdf(file,openai_api_key):
20
  #set the openAI API key dynamically
21
- openai.api_key=openai_api_key
22
 
23
  # Load and process the PDF
24
  documents=load_pdf(file)
 
18
  # Summarization function using GPT-4
19
  def summarize_pdf(file,openai_api_key):
20
  #set the openAI API key dynamically
21
+ openai.api_key="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"
22
 
23
  # Load and process the PDF
24
  documents=load_pdf(file)