Spaces:
Runtime error
Runtime error
Alex Strick van Linschoten
commited on
Commit
·
8f26658
1
Parent(s):
2addce3
update app
Browse files- streamlit_app.py +0 -2
streamlit_app.py
CHANGED
|
@@ -109,7 +109,6 @@ confidence = st.sidebar.slider(
|
|
| 109 |
)
|
| 110 |
|
| 111 |
|
| 112 |
-
@st.cache
|
| 113 |
def get_pdf_document(input):
|
| 114 |
os.makedirs(str(pathlib.Path(filename_without_extension)), exist_ok=True)
|
| 115 |
with open(
|
|
@@ -121,7 +120,6 @@ def get_pdf_document(input):
|
|
| 121 |
)
|
| 122 |
|
| 123 |
|
| 124 |
-
@st.cache
|
| 125 |
def get_image_predictions(img):
|
| 126 |
return model_type.end2end_detect(
|
| 127 |
img,
|
|
|
|
| 109 |
)
|
| 110 |
|
| 111 |
|
|
|
|
| 112 |
def get_pdf_document(input):
|
| 113 |
os.makedirs(str(pathlib.Path(filename_without_extension)), exist_ok=True)
|
| 114 |
with open(
|
|
|
|
| 120 |
)
|
| 121 |
|
| 122 |
|
|
|
|
| 123 |
def get_image_predictions(img):
|
| 124 |
return model_type.end2end_detect(
|
| 125 |
img,
|