Kalbe-x-Bangkit
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -32,6 +32,22 @@ bucket_load = storage_client.bucket(bucket_name_load)
|
|
32 |
# Utility Functions #######################################################################
|
33 |
|
34 |
# object detection ########################################################################
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
H_detection = 224
|
36 |
W_detection = 224
|
37 |
|
@@ -502,21 +518,6 @@ if uploaded_file is not None:
|
|
502 |
except Exception as e:
|
503 |
st.error(f"Error generating Grad-CAM: {e}")
|
504 |
|
505 |
-
st.write("All of the AI Model and Cloud Data can be integrated in one web platform through Streamlit, so that radiologists can diagnose and store medical image data easily, quickly, accurately and securely and the problems previously can be solved.")
|
506 |
-
st.markdown("""
|
507 |
-
**Overview**
|
508 |
-
- Image Enhancement
|
509 |
-
- Invert
|
510 |
-
- High Pass
|
511 |
-
- Unsharp Masking
|
512 |
-
- Histogram Equalization
|
513 |
-
- CLAHE
|
514 |
-
- GradCAM
|
515 |
-
- Object Detection
|
516 |
-
|
517 |
-
Feel free to upload your own image.
|
518 |
-
""")
|
519 |
-
|
520 |
model_detection = load_model_detection()
|
521 |
|
522 |
if uploaded_detection is not None:
|
|
|
32 |
# Utility Functions #######################################################################
|
33 |
|
34 |
# object detection ########################################################################
|
35 |
+
|
36 |
+
st.write("All of the AI Model and Cloud Data can be integrated in one web platform through Streamlit, so that radiologists can diagnose and store medical image data easily, quickly, accurately, and securely, so that the problems previously can be solved.")
|
37 |
+
st.markdown("""
|
38 |
+
**Overview**
|
39 |
+
- Image Enhancement
|
40 |
+
- Invert
|
41 |
+
- High Pass
|
42 |
+
- Unsharp Masking
|
43 |
+
- Histogram Equalization
|
44 |
+
- CLAHE
|
45 |
+
- GradCAM
|
46 |
+
- Object Detection
|
47 |
+
|
48 |
+
Feel free to upload your own image.
|
49 |
+
""")
|
50 |
+
|
51 |
H_detection = 224
|
52 |
W_detection = 224
|
53 |
|
|
|
518 |
except Exception as e:
|
519 |
st.error(f"Error generating Grad-CAM: {e}")
|
520 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
model_detection = load_model_detection()
|
522 |
|
523 |
if uploaded_detection is not None:
|