Kalbe-x-Bangkit
commited on
Add dcm.
Browse files
app.py
CHANGED
@@ -85,7 +85,7 @@ def draw_bbox(image, bbox):
|
|
85 |
|
86 |
model_detection = load_model_detection()
|
87 |
|
88 |
-
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png"])
|
89 |
|
90 |
if uploaded_file is not None:
|
91 |
file_bytes = np.asarray(bytearray(uploaded_file.read()), dtype=np.uint8)
|
|
|
85 |
|
86 |
model_detection = load_model_detection()
|
87 |
|
88 |
+
uploaded_file = st.file_uploader("Choose an image...", type=["jpg", "jpeg", "png", "dcm"])
|
89 |
|
90 |
if uploaded_file is not None:
|
91 |
file_bytes = np.asarray(bytearray(uploaded_file.read()), dtype=np.uint8)
|