Archan commited on
Commit
8230845
·
1 Parent(s): d7a1caa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -41,13 +41,12 @@ if paper:
41
  tpages = len(list(extract_pages(name)))
42
  print("total pages=", tpages)
43
  pgs = [i+1 for i in range(tpages)]
44
-
45
- with st.form(key = "page_form"):
46
- col1, col2 = st.columns(2)
47
- with col1:
48
- start_page = st.selectbox(label = "Start Page", options = pgs)
49
- with col2:
50
- end_page = st.selectbox(label = "End Page", options = pgs)
51
- submit_pages = st.form_submit_button(label = "Convert To Audio")
52
 
53
 
 
41
  tpages = len(list(extract_pages(name)))
42
  print("total pages=", tpages)
43
  pgs = [i+1 for i in range(tpages)]
44
+ with st.form(key = "page_form"):
45
+ col1, col2 = st.columns(2)
46
+ with col1:
47
+ start_page = st.selectbox(label = "Start Page", options = pgs)
48
+ with col2:
49
+ end_page = st.selectbox(label = "End Page", options = pgs)
50
+ submit_pages = st.form_submit_button(label = "Convert To Audio")
 
51
 
52