sancharikadebnath commited on
Commit
7e19da5
β€’
1 Parent(s): 0be2746

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -10
app.py CHANGED
@@ -6,9 +6,9 @@ import pdfplumber
6
  import ats
7
  import docx
8
 
9
- st.set_page_config(page_title='AI MultiTask', page_icon='πŸ€–', layout='centered')
10
 
11
- st.title("What You Want To Do")
12
 
13
  uploaded_file = st.file_uploader("Choose a document file", type=["pdf", "txt", "csv", "docx"])
14
  text = ''
@@ -36,15 +36,15 @@ if uploaded_file is not None:
36
  st.text_area("Extracted From Document",value=text)
37
  st.session_state['doc_text'] = text
38
 
39
- col1, col2, col3 = st.columns([3, 3,3])
40
- option = st.radio("I want to use: ", ("Blog", "Summerize", "ATS"), horizontal=True)
41
 
42
- if option == "Blog":
43
- blogger.run_blogger(st.session_state['doc_text'])
44
 
45
- elif option == "Summerize":
46
- gist.run_gist(st.session_state['doc_text'])
47
 
48
- elif option == "ATS":
49
- ats.run_ats(st.session_state['doc_text'])
50
 
 
6
  import ats
7
  import docx
8
 
9
+ st.set_page_config(page_title='AI Blogger', page_icon='πŸ€–', layout='centered')
10
 
11
+ st.title("Next Gen Of BLOGGING")
12
 
13
  uploaded_file = st.file_uploader("Choose a document file", type=["pdf", "txt", "csv", "docx"])
14
  text = ''
 
36
  st.text_area("Extracted From Document",value=text)
37
  st.session_state['doc_text'] = text
38
 
39
+ # col1, col2, col3 = st.columns([3, 3,3])
40
+ # option = st.radio("I want to use: ", ("Blog", "Summerize", "ATS"), horizontal=True)
41
 
42
+ # if option == "Blog":
43
+ blogger.run_blogger(st.session_state['doc_text'])
44
 
45
+ # elif option == "Summerize":
46
+ # gist.run_gist(st.session_state['doc_text'])
47
 
48
+ # elif option == "ATS":
49
+ # ats.run_ats(st.session_state['doc_text'])
50