bhardwaj08sarthak commited on
Commit
b560045
·
verified ·
1 Parent(s): 0199281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, input='image', outputs='label', title='App', description= 'upload the car image', examples=examples, cache_examples= False)
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()