Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -111,7 +111,7 @@ def main():
|
|
| 111 |
# predicted_idx = str(y_hat.item())
|
| 112 |
# right_column.title("Prediction")
|
| 113 |
# right_column.write(predicted_idx)
|
| 114 |
-
right_column.write(decode_predictions(outputs, top=
|
| 115 |
|
| 116 |
|
| 117 |
if __name__ == '__main__':
|
|
|
|
| 111 |
# predicted_idx = str(y_hat.item())
|
| 112 |
# right_column.title("Prediction")
|
| 113 |
# right_column.write(predicted_idx)
|
| 114 |
+
right_column.write(decode_predictions(outputs, top=2)[0])
|
| 115 |
|
| 116 |
|
| 117 |
if __name__ == '__main__':
|