Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -79,11 +79,10 @@ def main():
|
|
79 |
temp_file.write(uploaded_file.read())
|
80 |
temp_file.flush() # Ensure contents are written to disk
|
81 |
filepath = temp_file.name
|
82 |
-
|
83 |
-
|
84 |
st.info("Uploaded File")
|
85 |
-
pdf_view = displayPDF(filepath)
|
86 |
-
"""
|
87 |
with col2:
|
88 |
summary = llm_pipeline(filepath)
|
89 |
st.info("Summarization Complete")
|
|
|
79 |
temp_file.write(uploaded_file.read())
|
80 |
temp_file.flush() # Ensure contents are written to disk
|
81 |
filepath = temp_file.name
|
82 |
+
"""
|
83 |
+
with col1:
|
84 |
st.info("Uploaded File")
|
85 |
+
pdf_view = displayPDF(filepath)"""
|
|
|
86 |
with col2:
|
87 |
summary = llm_pipeline(filepath)
|
88 |
st.info("Summarization Complete")
|