Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,7 +3,7 @@ import gradio as gr
|
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
|
| 5 |
# Descargar el modelo exportado desde Hugging Face
|
| 6 |
-
model_path = hf_hub_download(repo_id="AdrianRevi/Practica1Blindness", filename="
|
| 7 |
|
| 8 |
# Cargar el modelo localmente
|
| 9 |
learn = load_learner(model_path)
|
|
|
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
|
| 5 |
# Descargar el modelo exportado desde Hugging Face
|
| 6 |
+
model_path = hf_hub_download(repo_id="AdrianRevi/Practica1Blindness", filename="model.pkl")
|
| 7 |
|
| 8 |
# Cargar el modelo localmente
|
| 9 |
learn = load_learner(model_path)
|