Skip to content

Commit dc4c9bf

Browse files
Update app.py
1 parent bfe90f4 commit dc4c9bf

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

app.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ def main():
1818
st.markdown("<h3 style='text-align: center; color: grey; font-size: 20px;'>DarkGPT: Your AI text assistant for quick summarization and analysis. Summarize text, analyze complexity, and get insights instantly!</h3>", unsafe_allow_html=True)
1919

2020
st.write('Choose an option below to get started!')
21-
22-
if st.button("DarkGPT"):
23-
st.switch_page(page='pages/DarkGPT.py')
24-
elif st.button("Summarize"):
25-
st.switch_page(page='pages/Summarize.py')
21+
col1, col2 = st.columns(2)
22+
with col1:
23+
if st.button("DarkGPT"):
24+
st.switch_page(page='pages/DarkGPT.py')
25+
with col2:
26+
if st.button("Summarize"):
27+
st.switch_page(page='pages/Summarize.py')
2628
st.markdown('---')
2729

2830
st.markdown("<h3 style='text-align: left; color:#F63366; font-size: 24px;'><b>What is DarkGPT?</b></h3>", unsafe_allow_html=True)

0 commit comments

Comments
 (0)