Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,8 @@ def recognize_image(image):
|
|
| 30 |
pred, idx, probs = model.predict(image)
|
| 31 |
return dict(zip(car_logo, map(float,probs)))
|
| 32 |
|
| 33 |
-
image = gr.Image()
|
| 34 |
-
label = gr.Label()
|
| 35 |
|
| 36 |
examples = [
|
| 37 |
'test_images/lexus-logo.png',
|
|
|
|
| 30 |
pred, idx, probs = model.predict(image)
|
| 31 |
return dict(zip(car_logo, map(float,probs)))
|
| 32 |
|
| 33 |
+
image = gr.inputs.Image()
|
| 34 |
+
label = gr.outputs.Label()
|
| 35 |
|
| 36 |
examples = [
|
| 37 |
'test_images/lexus-logo.png',
|