1TSnakers commited on
Commit
f1b541e
·
verified ·
1 Parent(s): 9768fd2

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +6 -11
src/streamlit_app.py CHANGED
@@ -1,12 +1,7 @@
1
- import streamlit_extras
2
 
3
- from streamlit_extras.pdf_viewer import *
4
-
5
- def example():
6
- """Example usage of the PDF viewer component."""
7
- pdf_viewer(
8
- "https://sawyerela.weebly.com/uploads/5/8/8/1/5881058/the_giver__giver_quartet_book_-_lois_lowry.pdf",
9
- )
10
-
11
-
12
- example()
 
1
+ import streamlit as st
2
 
3
+ from streamlit_extras.pdf_viewer import pdf_viewer
4
+
5
+ pdf_viewer(
6
+ "https://sawyerela.weebly.com/uploads/5/8/8/1/5881058/the_giver__giver_quartet_book_-_lois_lowry.pdf",
7
+ )