Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def classify(image_path, text_input):
|
|
46 |
|
47 |
for i, label in enumerate(labels):
|
48 |
prediction_value = float(prediction[0][i])
|
49 |
-
rounded_value = round
|
50 |
print(f'{label}: {rounded_value}')
|
51 |
|
52 |
if prediction_value > max_prediction_value:
|
|
|
46 |
|
47 |
for i, label in enumerate(labels):
|
48 |
prediction_value = float(prediction[0][i])
|
49 |
+
rounded_value = round(prediction_value, 2)
|
50 |
print(f'{label}: {rounded_value}')
|
51 |
|
52 |
if prediction_value > max_prediction_value:
|