Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,5 +24,5 @@ def predict(inp):
|
|
| 24 |
|
| 25 |
return {LABELS[i]: float(predictions[i]) for i in range(2)}
|
| 26 |
examples=[["fiat500.jpg"],["VWUP.jpg"]]
|
| 27 |
-
interface = gr.Interface(predict,
|
| 28 |
interface.launch()
|
|
|
|
| 24 |
|
| 25 |
return {LABELS[i]: float(predictions[i]) for i in range(2)}
|
| 26 |
examples=[["fiat500.jpg"],["VWUP.jpg"]]
|
| 27 |
+
interface = gr.Interface(fn=predict, inputs='image', outputs='label', title='App', description= 'upload the car image', examples=examples, cache_examples= False)
|
| 28 |
interface.launch()
|