Polo123 commited on
Commit
74add6c
·
verified ·
1 Parent(s): 301a401

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,9 +15,9 @@ if(input_text == "PDF"):
15
  with st.form("PDF_form"):
16
  uploaded_file = st.file_uploader('Choose your .pdf file', type="pdf")
17
  KG_name = st.text_input("Give Kuzu-KG name")
18
- save_uploadedfile(uploaded_file)
19
  sub = st.form_submit_button("Submit")
20
  if sub:
 
21
  index = get_index_pdf(token,KG_name)
22
 
23
  elif(input_text == "Links"):
 
15
  with st.form("PDF_form"):
16
  uploaded_file = st.file_uploader('Choose your .pdf file', type="pdf")
17
  KG_name = st.text_input("Give Kuzu-KG name")
 
18
  sub = st.form_submit_button("Submit")
19
  if sub:
20
+ save_uploadedfile(uploaded_file)
21
  index = get_index_pdf(token,KG_name)
22
 
23
  elif(input_text == "Links"):