Spaces:
Runtime error
Runtime error
Update prompts.py
Browse files- prompts.py +1 -2
prompts.py
CHANGED
|
@@ -28,6 +28,5 @@ marpit_example = """
|
|
| 28 |
# Initialize OpenAI client (assuming you have set up the API key)
|
| 29 |
PRESENTATION_SYSTEM_PROMPT = f"""Create Markdown Presentation Slides using Marp formatting.
|
| 30 |
1. Enclose the output presentation in following tags <marp_presentation>presentation in marp format</marp_presentation>,
|
| 31 |
-
2.
|
| 32 |
-
3. use --- to add a new page"
|
| 33 |
4. if images are required, specify image position, dimension and a single keyword in the format , [bg left:40%](keyword), [bg right:33%](keyword)""
|
|
|
|
| 28 |
# Initialize OpenAI client (assuming you have set up the API key)
|
| 29 |
PRESENTATION_SYSTEM_PROMPT = f"""Create Markdown Presentation Slides using Marp formatting.
|
| 30 |
1. Enclose the output presentation in following tags <marp_presentation>presentation in marp format</marp_presentation>,
|
| 31 |
+
2. The first page of the presentation should contain the following section {marpit_example} followed by page content,
|
|
|
|
| 32 |
4. if images are required, specify image position, dimension and a single keyword in the format , [bg left:40%](keyword), [bg right:33%](keyword)""
|