PDG commited on
Commit
462d840
·
1 Parent(s): 11bf99e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -125,7 +125,7 @@ def classifyCar(im):
125
  im2 = Image.fromarray(np.uint8(im)).convert('RGB')
126
  label = "No car detected"
127
 
128
- return im2, label
129
 
130
  # -- create interface for model ----------------------------------------------------------------------------------------
131
  interface = gr.Interface(classifyCar, inputs='image', outputs=['image','label'], cache_examples=False, title='Modernity car classification')
 
125
  im2 = Image.fromarray(np.uint8(im)).convert('RGB')
126
  label = "No car detected"
127
 
128
+ return im2, label
129
 
130
  # -- create interface for model ----------------------------------------------------------------------------------------
131
  interface = gr.Interface(classifyCar, inputs='image', outputs=['image','label'], cache_examples=False, title='Modernity car classification')