Update src/streamlit_app.py
Browse files- src/streamlit_app.py +5 -4
src/streamlit_app.py
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
-
import streamlit as st
|
2 |
import streamlit_extras
|
3 |
|
4 |
from streamlit_extras.pdf_viewer import *
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
|
|
|
|
9 |
|
10 |
|
11 |
example()
|
|
|
|
|
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()
|