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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -13,11 +13,13 @@ from os import getenv
13
 
14
  # Load environment variables
15
  load_dotenv()
 
 
16
 
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
  )
 
13
 
14
  # Load environment variables
15
  load_dotenv()
16
+ # openai_api_base="https://openrouter.ai/api/v1",
17
+ # openai_api_key=getenv("OPENROUTER_API_KEY"),
18
 
19
  # Create the ChatOpenAI instance with the custom client
20
  chat = ChatOpenAI(
21
+ openai_api_base=getenv("OPENAI_API_BASE"),
22
+ openai_api_key=getenv("OPENAI_API_KEY"),
23
  model_name="nousresearch/hermes-3-llama-3.1-405b:free",
24
  temperature=0.7,
25
  )