Spaces:
Runtime error
Runtime error
Update presentation_assistant/presentation_assistant.py
Browse files
presentation_assistant/presentation_assistant.py
CHANGED
|
@@ -51,7 +51,7 @@ def generate_text2ppt_input_prompt(input_type, input_value, input_pages):
|
|
| 51 |
|
| 52 |
rule_value = """
|
| 53 |
===
|
| 54 |
-
- Always use --- as a slide divider.
|
| 55 |
- Write factually only about the content or link provided.
|
| 56 |
- Design and arrange the slides diversely with appropriate shapes, images(, https://unsplash.com/ko/images/stock/non-copyrighted for actual use), tables(|-|), quotes(>), emphasis(bold, ``), emojis(https://kr.piliapp.com/twitter-symbols/), icons (https://kr.piliapp.com/symbol/#popular).
|
| 57 |
- Use emojis only once in every two pages, and use various other designs.
|
|
@@ -64,7 +64,7 @@ def generate_text2ppt_input_prompt(input_type, input_value, input_pages):
|
|
| 64 |
<!-- Slide 0. Slide Topic -->
|
| 65 |
# Slide Title
|
| 66 |

|
| 67 |
-
- This is 🤗**TEXT2PPT service PA!** using
|
| 68 |
- Converts `link`,`text`, `PDF` input or upload into PPT.
|
| 69 |
""" % input_pages
|
| 70 |
|
|
|
|
| 51 |
|
| 52 |
rule_value = """
|
| 53 |
===
|
| 54 |
+
- Always use '---' as a slide divider.
|
| 55 |
- Write factually only about the content or link provided.
|
| 56 |
- Design and arrange the slides diversely with appropriate shapes, images(, https://unsplash.com/ko/images/stock/non-copyrighted for actual use), tables(|-|), quotes(>), emphasis(bold, ``), emojis(https://kr.piliapp.com/twitter-symbols/), icons (https://kr.piliapp.com/symbol/#popular).
|
| 57 |
- Use emojis only once in every two pages, and use various other designs.
|
|
|
|
| 64 |
<!-- Slide 0. Slide Topic -->
|
| 65 |
# Slide Title
|
| 66 |

|
| 67 |
+
- This is 🤗**TEXT2PPT service PA!** using llama2.
|
| 68 |
- Converts `link`,`text`, `PDF` input or upload into PPT.
|
| 69 |
""" % input_pages
|
| 70 |
|