Instructions to use valencar/modelo_raios_x with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use valencar/modelo_raios_x with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy), and from_pretrained_keras was removed in huggingface_hub 1.0. # See https://github.com/keras-team/tf-keras for more details. # !pip install "huggingface_hub<1.0" tf_keras from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("valencar/modelo_raios_x") - Notebooks
- Google Colab
- Kaggle
dfdfd
Browse files
app.py
CHANGED
|
@@ -63,8 +63,7 @@ if 'model' not in st.session_state:
|
|
| 63 |
with st.container():
|
| 64 |
col1 = st.container()
|
| 65 |
file_upload = st.file_uploader("Carregue uma Imagem de Raios-X:", type="png")
|
| 66 |
-
|
| 67 |
-
file_upload = None
|
| 68 |
if file_upload is not None:
|
| 69 |
imagem = image.load_img(file_upload)
|
| 70 |
col1.image(imagem)
|
|
|
|
| 63 |
with st.container():
|
| 64 |
col1 = st.container()
|
| 65 |
file_upload = st.file_uploader("Carregue uma Imagem de Raios-X:", type="png")
|
| 66 |
+
|
|
|
|
| 67 |
if file_upload is not None:
|
| 68 |
imagem = image.load_img(file_upload)
|
| 69 |
col1.image(imagem)
|