Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,8 +30,9 @@ else:
|
|
30 |
with st.form(key = "paper_form"):
|
31 |
pname = st.selectbox(label = "NO PAPERS", options=lst)
|
32 |
submit_paper = st.form_submit_button(label = "Fetch Paper")
|
33 |
-
|
34 |
-
|
|
|
35 |
|
36 |
if paper:
|
37 |
name = paper.title+'.pdf'
|
|
|
30 |
with st.form(key = "paper_form"):
|
31 |
pname = st.selectbox(label = "NO PAPERS", options=lst)
|
32 |
submit_paper = st.form_submit_button(label = "Fetch Paper")
|
33 |
+
paper=""
|
34 |
+
if submit_paper:
|
35 |
+
paper = get_paper(pname)
|
36 |
|
37 |
if paper:
|
38 |
name = paper.title+'.pdf'
|