Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
| 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="
|
| 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 |
)
|