Halima commited on
Commit
938072c
1 Parent(s): 9819aa3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def image_classification(input1, input2):
30
  y_test_predicted_label = kNN_classifier.predict(image)
31
 
32
  output1 = y_test_predicted_label[0]# text output example
33
- output2 = y_test_predicted_label[1:5] # image-like array output example
34
  return output1,output2
35
 
36
  # Step 6.4: Put all three component together into the gradio's interface function
 
30
  y_test_predicted_label = kNN_classifier.predict(image)
31
 
32
  output1 = y_test_predicted_label[0]# text output example
33
+ output2 = y_test_predicted_label[1] # image-like array output example
34
  return output1,output2
35
 
36
  # Step 6.4: Put all three component together into the gradio's interface function