Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,6 @@ learn = load_learner(model_path)
|
|
8 |
|
9 |
# Funci贸n para predicci贸n
|
10 |
def predict(image):
|
11 |
-
# Realiza la predicci贸n usando el modelo cargado
|
12 |
pred, _, probs = learn.predict(image)
|
13 |
return {learn.dls.vocab[i]: float(probs[i]) for i in range(len(probs))}
|
14 |
|
|
|
8 |
|
9 |
# Funci贸n para predicci贸n
|
10 |
def predict(image):
|
|
|
11 |
pred, _, probs = learn.predict(image)
|
12 |
return {learn.dls.vocab[i]: float(probs[i]) for i in range(len(probs))}
|
13 |
|