Hyeonseo commited on
Commit
a5582cc
β€’
1 Parent(s): 6e96b4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -1,5 +1,5 @@
1
  import os
2
- import env_set
3
  env_set.env_set()
4
 
5
  import streamlit as st
@@ -9,7 +9,8 @@ import subprocess
9
  from io import BytesIO
10
  from pptx import Presentation
11
 
12
- import presentation_assistant as pa
 
13
 
14
  tab1, tab2, tab3 = st.tabs(['PA!λž€?', 'Text2PPT', 'PPT2Script'])
15
 
@@ -84,7 +85,7 @@ with tab2:
84
 
85
  if input_text_check == True:
86
  with st.spinner('Wait for it...'):
87
- pa.text2ppt(gpt_token, generate_text2ppt_input_prompt(status, input_text, page_choice), thema_select)
88
  prs = Presentation("text2ppt_output.pptx")
89
  binary_output = BytesIO()
90
  prs.save(binary_output)
 
1
  import os
2
+ from env_set import presentation_assistant
3
  env_set.env_set()
4
 
5
  import streamlit as st
 
9
  from io import BytesIO
10
  from pptx import Presentation
11
 
12
+
13
+ import presentation_assistant.presentation_assistant as pa
14
 
15
  tab1, tab2, tab3 = st.tabs(['PA!λž€?', 'Text2PPT', 'PPT2Script'])
16
 
 
85
 
86
  if input_text_check == True:
87
  with st.spinner('Wait for it...'):
88
+ pa.text2ppt(gpt_token, pa.generate_text2ppt_input_prompt(status, input_text, page_choice), thema_select)
89
  prs = Presentation("text2ppt_output.pptx")
90
  binary_output = BytesIO()
91
  prs.save(binary_output)