Spaces:
Runtime error
Runtime error
naveed-stockmark
commited on
Commit
•
c5abe2a
1
Parent(s):
8fd8924
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ if query_option is not ' ':
|
|
22 |
|
23 |
title_option = st.selectbox('Select document title', [str(i + 1) + ' ' + str(title) for i, title in titles])
|
24 |
|
25 |
-
index = int(title_option.split(' ')[0])
|
26 |
title = titles[index][1]
|
27 |
|
28 |
if title_option is not None:
|
|
|
22 |
|
23 |
title_option = st.selectbox('Select document title', [str(i + 1) + ' ' + str(title) for i, title in titles])
|
24 |
|
25 |
+
index = int(title_option.split(' ')[0]) - 1
|
26 |
title = titles[index][1]
|
27 |
|
28 |
if title_option is not None:
|