Pashtetuum commited on
Commit
567dc83
·
verified ·
1 Parent(s): 8bbf6f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def predict(zip_bytes):
37
  predicted_class = np.argmax(prediction)
38
  decoded_class = label_encoder.inverse_transform([predicted_class])[0]
39
  predicted_class_translation = translator(decoded_class)
40
- predictions.append(filename, predicted_class_translation)
41
  return predictions
42
 
43
  interface = gr.Interface(
 
37
  predicted_class = np.argmax(prediction)
38
  decoded_class = label_encoder.inverse_transform([predicted_class])[0]
39
  predicted_class_translation = translator(decoded_class)
40
+ predictions.append((filename, predicted_class_translation))
41
  return predictions
42
 
43
  interface = gr.Interface(