center or option
Browse files
app.py
CHANGED
@@ -31,16 +31,10 @@ if __name__ == "__main__":
|
|
31 |
# ---------------------------
|
32 |
|
33 |
inp_text = st.text_input("Enter text or a url here")
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
with col2:
|
40 |
-
st.subheader("----- OR -----")
|
41 |
-
|
42 |
-
with col3:
|
43 |
-
st.write("")
|
44 |
uploaded_file = st.file_uploader(
|
45 |
"Upload a .txt, .pdf, .word file for summarization"
|
46 |
)
|
|
|
31 |
# ---------------------------
|
32 |
|
33 |
inp_text = st.text_input("Enter text or a url here")
|
34 |
+
st.markdown(
|
35 |
+
"<h3 style='text-align: center; color: red;'>OR</h3>",
|
36 |
+
unsafe_allow_html=True,
|
37 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
uploaded_file = st.file_uploader(
|
39 |
"Upload a .txt, .pdf, .word file for summarization"
|
40 |
)
|
test.py
CHANGED
@@ -19,8 +19,7 @@ if __name__ == "__main__":
|
|
19 |
st.header("Testing file uploads")
|
20 |
|
21 |
uploaded_file = st.file_uploader("Upload a file here")
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
st.write(docx_text)
|
|
|
19 |
st.header("Testing file uploads")
|
20 |
|
21 |
uploaded_file = st.file_uploader("Upload a file here")
|
22 |
+
st.markdown(
|
23 |
+
"<h3 style='text-align: center; color: red;'>OR</h3>",
|
24 |
+
unsafe_allow_html=True,
|
25 |
+
)
|
|