Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,9 @@ import pdfplumber
|
|
6 |
import ats
|
7 |
import docx
|
8 |
|
9 |
-
st.set_page_config(page_title='AI
|
10 |
|
11 |
-
st.title("
|
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 |
-
|
44 |
|
45 |
-
elif option == "Summerize":
|
46 |
-
|
47 |
|
48 |
-
elif option == "ATS":
|
49 |
-
|
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 |
|