HonestGrad commited on
Commit
e583af1
·
verified ·
1 Parent(s): 9c684e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def extract_text_from_pdf(pdf_file):
18
 
19
  client = OpenAI(
20
  base_url="https://api.studio.nebius.com/v1/",
21
- api_key=os.environ.get("NEBIUS_API_KEY")
22
  )
23
 
24
  def answer_question(pdf_text, question, history):
 
18
 
19
  client = OpenAI(
20
  base_url="https://api.studio.nebius.com/v1/",
21
+ api_key=os.getenv("NEBIUS_API_KEY")
22
  )
23
 
24
  def answer_question(pdf_text, question, history):