paarthbhise commited on
Commit
34db92f
·
verified ·
1 Parent(s): 53ddf8b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ Rules:
35
  llm = ChatOpenAI(
36
  api_key=os.environ.get("OPENROUTER_API_KEY"),
37
  base_url="https://openrouter.ai/api/v1", # <-- Point to OpenRouter instead of OpenAI
38
- model="meta-llama/llama-3.3-70b-instruct:free", # <-- Swap this with ANY model ID from OpenRouter
39
  temperature=0.5,
40
  default_headers={
41
  "HTTP-Referer": "http://localhost:7860", # Optional: Used by OpenRouter for app rankings
 
35
  llm = ChatOpenAI(
36
  api_key=os.environ.get("OPENROUTER_API_KEY"),
37
  base_url="https://openrouter.ai/api/v1", # <-- Point to OpenRouter instead of OpenAI
38
+ model="google/gemma-4-31b-it:free", # <-- Swap this with ANY model ID from OpenRouter
39
  temperature=0.5,
40
  default_headers={
41
  "HTTP-Referer": "http://localhost:7860", # Optional: Used by OpenRouter for app rankings