amira01 commited on
Commit
0ebb86a
·
verified ·
1 Parent(s): ef5acae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def process_pdfs(files):
52
  def load_model():
53
  return ChatOpenAI(
54
  base_url="https://openrouter.ai/api/v1",
55
- api_key="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",
56
  model="mistralai/mistral-7b-instruct",
57
  temperature=0.3
58
  )
 
52
  def load_model():
53
  return ChatOpenAI(
54
  base_url="https://openrouter.ai/api/v1",
55
+ api_key=load_api_key(),
56
  model="mistralai/mistral-7b-instruct",
57
  temperature=0.3
58
  )