sunbal7 commited on
Commit
0568c94
·
verified ·
1 Parent(s): bcfdcdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -92,7 +92,7 @@ if 'page' not in st.session_state:
92
  def generate_quote():
93
  prompt = "Create an inspirational quote about self-improvement with 2 emojis"
94
  response = groq_client.chat.completions.create(
95
- model="llama2-70b-4096", # Updated working model
96
  messages=[{"role": "user", "content": prompt}],
97
  temperature=0.7
98
  )
@@ -142,7 +142,7 @@ Tone: {tone_instructions[tone]}
142
  Max length: 280 characters"""
143
 
144
  response = groq_client.chat.completions.create(
145
- model="llama2-70b-4096", # Updated working model
146
  messages=[{"role": "user", "content": prompt}],
147
  temperature=0.9 if tone == "funny" else 0.5
148
  )
 
92
  def generate_quote():
93
  prompt = "Create an inspirational quote about self-improvement with 2 emojis"
94
  response = groq_client.chat.completions.create(
95
+ model="mixtral-8x7b-32768",
96
  messages=[{"role": "user", "content": prompt}],
97
  temperature=0.7
98
  )
 
142
  Max length: 280 characters"""
143
 
144
  response = groq_client.chat.completions.create(
145
+ model="mixtral-8x7b-32768",
146
  messages=[{"role": "user", "content": prompt}],
147
  temperature=0.9 if tone == "funny" else 0.5
148
  )