Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,9 +151,9 @@ def generate_slides_content(user_input, num_slides):
|
|
| 151 |
{"role": "system", "content": "You are a helpful assistant that generates PowerPoint presentation content and return the content in JSON format."},
|
| 152 |
{"role": "user", "content": prompt}
|
| 153 |
],
|
| 154 |
-
model="
|
| 155 |
temperature=1,
|
| 156 |
-
max_tokens=
|
| 157 |
)
|
| 158 |
|
| 159 |
return json.loads(chat_completion.choices[0].message.content)
|
|
|
|
| 151 |
{"role": "system", "content": "You are a helpful assistant that generates PowerPoint presentation content and return the content in JSON format."},
|
| 152 |
{"role": "user", "content": prompt}
|
| 153 |
],
|
| 154 |
+
model="llama-3.1-8b-instant",
|
| 155 |
temperature=1,
|
| 156 |
+
max_tokens=12000
|
| 157 |
)
|
| 158 |
|
| 159 |
return json.loads(chat_completion.choices[0].message.content)
|