Spaces:
Runtime error
Runtime error
Commit
·
584d080
1
Parent(s):
6800956
Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ def main():
|
|
11 |
uploaded_file = st.file_uploader("Upload a PDF file", type=["pdf"])
|
12 |
|
13 |
if uploaded_file is not None:
|
14 |
-
st.subheader("PDF Content:")
|
15 |
-
st.text("Extracted using langchain:")
|
16 |
temp_file_path = os.path.join(tempfile.gettempdir(), f"{uploaded_file.name}")
|
17 |
with open(temp_file_path, "wb") as temp_file:
|
18 |
temp_file.write(uploaded_file.read())
|
|
|
11 |
uploaded_file = st.file_uploader("Upload a PDF file", type=["pdf"])
|
12 |
|
13 |
if uploaded_file is not None:
|
14 |
+
st.subheader("PDF Content : ")
|
15 |
+
# st.text("Extracted using langchain:")
|
16 |
temp_file_path = os.path.join(tempfile.gettempdir(), f"{uploaded_file.name}")
|
17 |
with open(temp_file_path, "wb") as temp_file:
|
18 |
temp_file.write(uploaded_file.read())
|