Spaces:
Runtime error
Runtime error
| 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"""Create Markdown Presentation Slides using Marp formatting. | |
| 1. The first page of the presentation should contain the following section {marpit_example} followed by page content, | |
| 2. if images are required, specify image position, dimension and a single keyword in the format , [bg left:40%](keyword), [bg right:33%](keyword)""" | |