cstr commited on
Commit
7198760
·
verified ·
1 Parent(s): 54de576

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -213,8 +213,8 @@ VISION_MODELS = {
213
  ],
214
  "Groq": ["llama-3.2-11b-vision", "llama-3.2-90b-vision"],
215
  "Together": ["Llama-3.2-11B-Vision-Instruct", "Llama-3.2-90B-Vision-Instruct"],
216
- "OVH": ["llava-next-mistral-7b", "qwen2.5-vl-72b-instruct"],
217
- "Cerebras": [],
218
  "GoogleAI": ["gemini-1.5-pro", "gemini-1.0-pro", "gemini-1.5-flash", "gemini-2.0-pro", "gemini-2.5-pro"]
219
  }
220
 
@@ -2939,7 +2939,7 @@ def create_app():
2939
  temperature, max_tokens, top_p, frequency_penalty, presence_penalty, repetition_penalty,
2940
  top_k, min_p, seed, top_a, stream_output, response_format,
2941
  images, documents, reasoning_effort, system_message, transforms,
2942
- openrouter_api_key, openai_api_key, hf_api_key, groq_api_key, cohere_api_key, together_api_key, googleai_api_key
2943
  ],
2944
  outputs=chatbot,
2945
  show_progress="minimal",
@@ -3025,8 +3025,8 @@ if __name__ == "__main__":
3025
  if "OpenRouter" in missing_keys:
3026
  print("\nNote: OpenRouter offers free tier access to many models!")
3027
 
3028
- if "OVH" not in missing_keys and "Cerebras" not in missing_keys:
3029
- print("\nNote: OVH AI Endpoints (beta) and Cerebras offer free usage tiers!")
3030
 
3031
  print("\nStarting CrispChat application...")
3032
  demo = create_app()
 
213
  ],
214
  "Groq": ["llama-3.2-11b-vision", "llama-3.2-90b-vision"],
215
  "Together": ["Llama-3.2-11B-Vision-Instruct", "Llama-3.2-90B-Vision-Instruct"],
216
+ #"OVH": ["llava-next-mistral-7b", "qwen2.5-vl-72b-instruct"],
217
+ #"Cerebras": [],
218
  "GoogleAI": ["gemini-1.5-pro", "gemini-1.0-pro", "gemini-1.5-flash", "gemini-2.0-pro", "gemini-2.5-pro"]
219
  }
220
 
 
2939
  temperature, max_tokens, top_p, frequency_penalty, presence_penalty, repetition_penalty,
2940
  top_k, min_p, seed, top_a, stream_output, response_format,
2941
  images, documents, reasoning_effort, system_message, transforms,
2942
+ openrouter_api_key, openai_api_key, hf_api_key, groq_api_key, cohere_api_key, together_api_key, anthropic_api_key, googleai_api_key
2943
  ],
2944
  outputs=chatbot,
2945
  show_progress="minimal",
 
3025
  if "OpenRouter" in missing_keys:
3026
  print("\nNote: OpenRouter offers free tier access to many models!")
3027
 
3028
+ #if "OVH" not in missing_keys and "Cerebras" not in missing_keys:
3029
+ # print("\nNote: OVH AI Endpoints (beta) and Cerebras offer free usage tiers!")
3030
 
3031
  print("\nStarting CrispChat application...")
3032
  demo = create_app()