ValueError: setting an array element with a sequence as ::
type(np.float32)
Traceback (most recent call last):
File "app.py", line 29, in
prediction = predictionApp.predict(input_image)
File "/home/abc//services/prediction.py", line 65, in predict
predicted_words = predicted_words.astype(np.float32)
ValueError: setting an array element with a sequence.