porfabor señor jesus
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ categories = ("Marth", "Sheik")
|
|
13 |
|
14 |
def classify_images(img):
|
15 |
pred, idx, probs = learn.predict(img)
|
16 |
-
return dict(zip(
|
17 |
|
18 |
image = gr.inputs.Image(shape = (192, 192))
|
19 |
label = gr.outputs.Label()
|
|
|
13 |
|
14 |
def classify_images(img):
|
15 |
pred, idx, probs = learn.predict(img)
|
16 |
+
return dict(zip(categories, map(float, probs)))
|
17 |
|
18 |
image = gr.inputs.Image(shape = (192, 192))
|
19 |
label = gr.outputs.Label()
|