mahynski commited on
Commit
7bcf03e
·
1 Parent(s): 8ad7da6
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -69,4 +69,5 @@ with col1:
69
  with col2:
70
  if uploaded_file is not None:
71
  # Display the pdf
72
- pdf_viewer(input=uploaded_file, width=700)
 
 
69
  with col2:
70
  if uploaded_file is not None:
71
  # Display the pdf
72
+ bytes_data = uploaded_file.getvalue()
73
+ pdf_viewer(input=bytes_data, width=700)