haxerwddle commited on
Commit
cb3656d
·
1 Parent(s): 97598d2

Minor change

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -357,6 +357,7 @@ def classify_pipeline(image):
357
  global top_label
358
 
359
  predictions = classify_image(image)
 
360
  top_label = max(predictions, key=predictions.get) # top-1
361
  return predictions
362
 
 
357
  global top_label
358
 
359
  predictions = classify_image(image)
360
+ top_label = None
361
  top_label = max(predictions, key=predictions.get) # top-1
362
  return predictions
363