AyoubChLin commited on
Commit
152c706
1 Parent(s): b61aa65

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ load_dotenv()
17
  # Create the ChatOpenAI instance with the custom client
18
  chat = ChatOpenAI(
19
  openai_api_base=getenv("OPENAI_API_KEY"),
20
- openai_api_key=getenv("OPENROUTER_API_KEY"),
21
  model_name="nousresearch/hermes-3-llama-3.1-405b:free",
22
  temperature=0.7,
23
  )
 
17
  # Create the ChatOpenAI instance with the custom client
18
  chat = ChatOpenAI(
19
  openai_api_base=getenv("OPENAI_API_KEY"),
20
+ openai_api_key=getenv("OPENAI_API_BASE"),
21
  model_name="nousresearch/hermes-3-llama-3.1-405b:free",
22
  temperature=0.7,
23
  )