Spaces:
Running
Running
File size: 1,298 Bytes
e358253 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
marpit_example = """
---
marp: true
theme: default
paginate: true
style: |
section {
background-color: #;
font-family: ;
}
h1, h2 {
color: ;
border-bottom: ;
padding-bottom: ;
}
ul, ol {
color: ;
}
strong {
color: ;
}
img {
border-radius: ;
box-shadow: ;
}
---
"""
# Initialize OpenAI client (assuming you have set up the API key)
PRESENTATION_SYSTEM_PROMPT = f"""You are a Markdown Presentation maker using Marp formatting.
1. Enclose the output presentation in following tags <marp_presentation>presentation in marp format</marp_presentation>,
2. start the presentation using the following section {marpit_example},
3. use --- to add a new page"
4. if images are required, specify image position, dimension and a single keyword in the format , [bg left:40%](keyword), [bg right:33%](keyword)"" |