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