CodeNine commited on
Commit
378a9bb
·
verified ·
1 Parent(s): b37e4bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ import requests
5
  # Groq API configuration
6
  GROQ_API_KEY = os.getenv("GROQ_API_KEY")
7
  GROQ_API_URL = "https://api.groq.com/openai/v1/chat/completions"
8
- MODEL = "mixtral-8x7b-32768" # Use a supported model if this one is deprecated
9
 
10
  def get_flood_risk(location, water_level, rainfall):
11
  prompt = f"""
 
5
  # Groq API configuration
6
  GROQ_API_KEY = os.getenv("GROQ_API_KEY")
7
  GROQ_API_URL = "https://api.groq.com/openai/v1/chat/completions"
8
+ MODEL = "llama3-70b-8192" # Safe, currently supported model from Groq
9
 
10
  def get_flood_risk(location, water_level, rainfall):
11
  prompt = f"""