te
Browse files
app.py
CHANGED
@@ -67,6 +67,13 @@ if 'model' not in st.session_state:
|
|
67 |
|
68 |
with st.container():
|
69 |
col1 = st.container()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
file_upload = st.file_uploader("Carregue uma Imagem de Raios-X:", type="png")
|
71 |
|
72 |
if file_upload is not None:
|
@@ -78,10 +85,7 @@ with st.container():
|
|
78 |
imagem = image.load_img(name_image)
|
79 |
col1.image(imagem, width=700)
|
80 |
|
81 |
-
|
82 |
-
nome_imagem = escolher_imagem()
|
83 |
-
col1.image(imagem)
|
84 |
-
col1.header(predict_image(file_upload))
|
85 |
|
86 |
|
87 |
|
|
|
67 |
|
68 |
with st.container():
|
69 |
col1 = st.container()
|
70 |
+
|
71 |
+
if st.button('Raios-X Diversos'):
|
72 |
+
nome_imagem = escolher_imagem()
|
73 |
+
imagem = image.load_img(name_image)
|
74 |
+
col1.image(imagem)
|
75 |
+
col1.header(predict_image(nome_imagem))
|
76 |
+
|
77 |
file_upload = st.file_uploader("Carregue uma Imagem de Raios-X:", type="png")
|
78 |
|
79 |
if file_upload is not None:
|
|
|
85 |
imagem = image.load_img(name_image)
|
86 |
col1.image(imagem, width=700)
|
87 |
|
88 |
+
|
|
|
|
|
|
|
89 |
|
90 |
|
91 |
|