Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ with tab2:
|
|
87 |
if input_text_check == True:
|
88 |
with st.spinner('Wait for it...'):
|
89 |
pa.text2ppt(gpt_token, pa.generate_text2ppt_input_prompt(status, input_text, page_choice), thema_select)
|
90 |
-
prs = Presentation("
|
91 |
binary_output = BytesIO()
|
92 |
prs.save(binary_output)
|
93 |
st.success('Done!')
|
|
|
87 |
if input_text_check == True:
|
88 |
with st.spinner('Wait for it...'):
|
89 |
pa.text2ppt(gpt_token, pa.generate_text2ppt_input_prompt(status, input_text, page_choice), thema_select)
|
90 |
+
prs = Presentation("text2ppt_output.pptx")
|
91 |
binary_output = BytesIO()
|
92 |
prs.save(binary_output)
|
93 |
st.success('Done!')
|