PraneshJs commited on
Commit
0f8b52c
·
verified ·
1 Parent(s): c282f04

switched back to openrouter

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -12,9 +12,9 @@ import modelscope_studio.components.pro as pro
12
  load_dotenv()
13
 
14
  # ---------- CONFIG ----------
15
- API_KEY=os.getenv("GROQ") # <-- set this env var
16
- MODEL="llama-3.1-8b-instant" # change if you have a specific model on OpenRouter
17
- ENDPOINT ="https://api.groq.com/openai/v1/chat/completions"
18
 
19
 
20
  SYSTEM_PROMPT = """You are an expert on frontend design, you will always respond to web design tasks.
 
12
  load_dotenv()
13
 
14
  # ---------- CONFIG ----------
15
+ API_KEY=os.getenv("KEY") # <-- set this env var
16
+ MODEL="z-ai/glm-4.5-air:free" # change if you have a specific model on OpenRouter
17
+ ENDPOINT ="https://openrouter.ai/api/v1/chat/completions"
18
 
19
 
20
  SYSTEM_PROMPT = """You are an expert on frontend design, you will always respond to web design tasks.