Spaces:
Running
Running
display text
Browse files
app.py
CHANGED
|
@@ -38,7 +38,7 @@ def split_long_string(long_string, chunk_size=3500):
|
|
| 38 |
|
| 39 |
async def ppt_content(data):
|
| 40 |
agent = Agent(model,
|
| 41 |
-
result_type=customClass.PPT,
|
| 42 |
system_prompt=(
|
| 43 |
"You are an expert in making power-point perssentation",
|
| 44 |
"Create 6 sliders",
|
|
@@ -66,7 +66,7 @@ async def ppt_content(data):
|
|
| 66 |
|
| 67 |
|
| 68 |
result_1 = agent.run_sync(user_prompt = "".join(data))
|
| 69 |
-
|
| 70 |
print(result_1.data)
|
| 71 |
|
| 72 |
|
|
|
|
| 38 |
|
| 39 |
async def ppt_content(data):
|
| 40 |
agent = Agent(model,
|
| 41 |
+
#result_type=customClass.PPT,
|
| 42 |
system_prompt=(
|
| 43 |
"You are an expert in making power-point perssentation",
|
| 44 |
"Create 6 sliders",
|
|
|
|
| 66 |
|
| 67 |
|
| 68 |
result_1 = agent.run_sync(user_prompt = "".join(data))
|
| 69 |
+
st.text(result_1.data)
|
| 70 |
print(result_1.data)
|
| 71 |
|
| 72 |
|