Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -22,7 +22,7 @@ st.set_page_config(
|
|
| 22 |
@st.cache_resource
|
| 23 |
def load_model():
|
| 24 |
"""Carrega o modelo TFLite uma 煤nica vez."""
|
| 25 |
-
interpreter = tf.lite.Interpreter(model_path="
|
| 26 |
interpreter.allocate_tensors()
|
| 27 |
input_details = interpreter.get_input_details()
|
| 28 |
output_details = interpreter.get_output_details()
|
|
|
|
| 22 |
@st.cache_resource
|
| 23 |
def load_model():
|
| 24 |
"""Carrega o modelo TFLite uma 煤nica vez."""
|
| 25 |
+
interpreter = tf.lite.Interpreter(model_path="model.tflite") # <--- CAMINHO CORRIGIDO
|
| 26 |
interpreter.allocate_tensors()
|
| 27 |
input_details = interpreter.get_input_details()
|
| 28 |
output_details = interpreter.get_output_details()
|