DrishtiSharma commited on
Commit
c90c2ec
·
verified ·
1 Parent(s): 7208469

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -66,7 +66,7 @@ def extract_metadata(pdf_path):
66
  return title, author, email_str, affiliation_str
67
 
68
  # ----------------- PDF Selection -----------------
69
- pdf_source = st.radio("Choose a PDF source:", ["Upload a PDF file", "Enter a PDF URL"], index=0, horizontal=True)
70
 
71
  if pdf_source == "Upload a PDF file":
72
  uploaded_file = st.file_uploader("Upload your PDF file", type=["pdf"])
 
66
  return title, author, email_str, affiliation_str
67
 
68
  # ----------------- PDF Selection -----------------
69
+ pdf_source = st.radio("Upload or provide a link to a PDF:", ["Upload a PDF file", "Enter a PDF URL"], index=0, horizontal=True)
70
 
71
  if pdf_source == "Upload a PDF file":
72
  uploaded_file = st.file_uploader("Upload your PDF file", type=["pdf"])