Commit
·
55abc26
1
Parent(s):
00ac4ab
Update app.py
Browse files
app.py
CHANGED
@@ -17,9 +17,9 @@ def image_classifier(inp):
|
|
17 |
|
18 |
resultado = []
|
19 |
for name, value in sorted_pairs:
|
20 |
-
|
21 |
|
22 |
-
return ', '.join(
|
23 |
|
24 |
# gradio code block for input and output
|
25 |
with gr.Blocks() as app:
|
|
|
17 |
|
18 |
resultado = []
|
19 |
for name, value in sorted_pairs:
|
20 |
+
result.append(f'{name}: {value:.2f}%')
|
21 |
|
22 |
+
return ', '.join(result)
|
23 |
|
24 |
# gradio code block for input and output
|
25 |
with gr.Blocks() as app:
|