masadonline commited on
Commit
106b8c6
·
verified ·
1 Parent(s): 5a62060

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def generate_answer_with_groq(question, context):
53
  prompt = f"Based on the following context, answer the question: '{question}'\n\nContext:\n{context}"
54
  groq_client = Groq(api_key=os.environ["GROQ_API_KEY"])
55
  response = groq_client.chat.completions.create(
56
- model="llama-3-3b-8192",
57
  messages=[
58
  {"role": "system", "content": "You are an AI Assistant for Small Businesses."},
59
  {"role": "user", "content": prompt},
 
53
  prompt = f"Based on the following context, answer the question: '{question}'\n\nContext:\n{context}"
54
  groq_client = Groq(api_key=os.environ["GROQ_API_KEY"])
55
  response = groq_client.chat.completions.create(
56
+ model="llama3-8b-8192", # Updated model name
57
  messages=[
58
  {"role": "system", "content": "You are an AI Assistant for Small Businesses."},
59
  {"role": "user", "content": prompt},