Spaces:
Running
Running
improve prompt
Browse files
app.py
CHANGED
@@ -21,11 +21,12 @@ async def ppt_content(data):
|
|
21 |
agent = Agent(model,system_prompt=(
|
22 |
"You are an expert in making power-point perssentation",
|
23 |
"Title Slide: Include the document's title, subtitle, author, and date.",
|
24 |
-
"Methodology Slide: Summarize the methodology in detail
|
25 |
"Results Slide: Present key findings in detail in simple text and bullet points.",
|
26 |
"Discussion Slide: Summarize the implications and limitations.",
|
27 |
"Conclusion Slide: State the overall conclusion.",
|
28 |
-
"Reference Slide: Include all citations used."
|
|
|
29 |
))
|
30 |
listOfString = split_long_string("".join(data))
|
31 |
print(len(listOfString))
|
|
|
21 |
agent = Agent(model,system_prompt=(
|
22 |
"You are an expert in making power-point perssentation",
|
23 |
"Title Slide: Include the document's title, subtitle, author, and date.",
|
24 |
+
"Methodology Slide: Summarize the methodology in detail",
|
25 |
"Results Slide: Present key findings in detail in simple text and bullet points.",
|
26 |
"Discussion Slide: Summarize the implications and limitations.",
|
27 |
"Conclusion Slide: State the overall conclusion.",
|
28 |
+
"Reference Slide: Include all citations used.",
|
29 |
+
"Create 6 sliders",
|
30 |
))
|
31 |
listOfString = split_long_string("".join(data))
|
32 |
print(len(listOfString))
|