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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -13,13 +13,11 @@ from os import getenv
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
  )
 
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="https://openrouter.ai/api/v1",
20
+ openai_api_key=getenv("OPENROUTER_API_KEY"),
21
  model_name="nousresearch/hermes-3-llama-3.1-405b:free",
22
  temperature=0.7,
23
  )