milwright commited on
Commit
f259393
·
verified ·
1 Parent(s): 558cd3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -20
app.py CHANGED
@@ -139,10 +139,9 @@ if __name__ == "__main__":
139
  # Available models
140
  MODELS = [
141
  "google/gemma-3-27b-it",
142
- "mistralai/mixtral-8x7b-instruct",
143
  "meta-llama/llama-3.1-70b-instruct",
144
  "anthropic/claude-3.5-haiku",
145
- "nvidia/nemotron-4-340b-instruct",
146
  "openai/gpt-3.5-turbo"
147
  ]
148
 
@@ -230,13 +229,7 @@ pinned: false
230
  5. Value: Your OpenRouter API key
231
  6. Click "Add"
232
 
233
- ### Step 4: Get Your API Key
234
- 1. Go to https://openrouter.ai/keys
235
- 2. Sign up/login if needed
236
- 3. Click "Create Key"
237
- 4. Copy the key (starts with `sk-or-`)
238
-
239
- ### Step 5: Test Your Space
240
  - Go back to "App" tab
241
  - Your Space should be running!
242
  - Try the example prompts or ask a question
@@ -248,17 +241,6 @@ pinned: false
248
  - **Max Tokens**: {config['max_tokens']}
249
  - **API Key Variable**: {config['api_key_var']}
250
 
251
- ## Cost Information
252
-
253
- OpenRouter charges per token used:
254
- - Gemma 2 9B: ~$0.20 per million tokens
255
- - Claude Haiku: ~$0.25 per million tokens
256
- - GPT-4o-mini: ~$0.60 per million tokens
257
-
258
- Typical conversation: ~300 tokens (cost: $0.00006 - $0.0018)
259
-
260
- Check current pricing: https://openrouter.ai/models
261
-
262
  ## Customization
263
 
264
  To modify your Space:
 
139
  # Available models
140
  MODELS = [
141
  "google/gemma-3-27b-it",
142
+ "mistralai/mistral-medium",
143
  "meta-llama/llama-3.1-70b-instruct",
144
  "anthropic/claude-3.5-haiku",
 
145
  "openai/gpt-3.5-turbo"
146
  ]
147
 
 
229
  5. Value: Your OpenRouter API key
230
  6. Click "Add"
231
 
232
+ ### Step 4: Test Your Space
 
 
 
 
 
 
233
  - Go back to "App" tab
234
  - Your Space should be running!
235
  - Try the example prompts or ask a question
 
241
  - **Max Tokens**: {config['max_tokens']}
242
  - **API Key Variable**: {config['api_key_var']}
243
 
 
 
 
 
 
 
 
 
 
 
 
244
  ## Customization
245
 
246
  To modify your Space: