Spaces:
Runtime error
Runtime error
Andrey
commited on
Commit
•
f0facef
1
Parent(s):
2658f03
Erlemar patch 1 (#17)
Browse files* Update requirements.txt
* Update formatting.
* Update formatting.
* Update formatting.
* Update versions
* Change cache to cache_data.
- src/utils.py +1 -1
src/utils.py
CHANGED
@@ -75,7 +75,7 @@ def save_object_to_s3(filename, s3_filename):
|
|
75 |
client.upload_file(filename, 'digitdrawdetect', s3_filename)
|
76 |
|
77 |
|
78 |
-
@st.
|
79 |
def save_image(image: npt.ArrayLike, pred: List[List]) -> str:
|
80 |
"""
|
81 |
Save the image and upload the image with bboxes to s3.
|
|
|
75 |
client.upload_file(filename, 'digitdrawdetect', s3_filename)
|
76 |
|
77 |
|
78 |
+
@st.cache_data(show_spinner=False)
|
79 |
def save_image(image: npt.ArrayLike, pred: List[List]) -> str:
|
80 |
"""
|
81 |
Save the image and upload the image with bboxes to s3.
|