Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,7 +90,9 @@ def generate_presentation_content_openai(prompt, api_key, progress_bar, progress
|
|
| 90 |
data = {
|
| 91 |
"model": "gpt-4o",
|
| 92 |
"messages": [
|
| 93 |
-
{"role": "system", "content": "Jeste艣 ekspertem w tworzeniu prezentacji.
|
|
|
|
|
|
|
| 94 |
{"role": "user", "content": prompt}
|
| 95 |
],
|
| 96 |
"stream": True,
|
|
|
|
| 90 |
data = {
|
| 91 |
"model": "gpt-4o",
|
| 92 |
"messages": [
|
| 93 |
+
{"role": "system", "content": "Jeste艣 ekspertem w tworzeniu prezentacji."
|
| 94 |
+
"Tw贸rz tre艣膰 prezentacji w formacie, gdzie ka偶dy slajd zaczyna si臋 od '#### Tytu艂 slajdu' a nast臋pnie zawiera tre艣膰 slajdu. U偶ywaj j臋zyka polskiego."
|
| 95 |
+
"Nie dodawaj jednak frazy 'Tytu艂 slajdu:' tylko od razu wstaw adekwatnmy tytu艂. Po tytule umie艣膰 tre艣膰 slajdu."},
|
| 96 |
{"role": "user", "content": prompt}
|
| 97 |
],
|
| 98 |
"stream": True,
|