Spaces:
Running
Running
display text
Browse files
app.py
CHANGED
@@ -81,8 +81,8 @@ async def ppt_content(data):
|
|
81 |
listOfString = split_into_token_chunks("".join(data))
|
82 |
print(len(listOfString))
|
83 |
message_history: list[ModelMessage] = []
|
84 |
-
|
85 |
-
|
86 |
|
87 |
for x in listOfString:
|
88 |
result = agent.run_sync(user_prompt = f"Create me a powerpoint presentation {x}",message_history = message_history)
|
|
|
81 |
listOfString = split_into_token_chunks("".join(data))
|
82 |
print(len(listOfString))
|
83 |
message_history: list[ModelMessage] = []
|
84 |
+
for i, chunk in enumerate(listOfString):
|
85 |
+
print(f"Chunk {i}:\n{chunk}\n")
|
86 |
|
87 |
for x in listOfString:
|
88 |
result = agent.run_sync(user_prompt = f"Create me a powerpoint presentation {x}",message_history = message_history)
|