fedihch commited on
Commit
bfb9266
1 Parent(s): f0bcfbd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -26,8 +26,7 @@ def classify(input_img):
26
  id2label = {0: "invoice", 1: "receipt"}
27
  return id2label[predicted_class_idx]
28
 
29
- examples =[['https://upserve.com/media/sites/2/Bill-from-Mezcalero-in-Washington-D.C.-photo-by-Alfredo-Solis-1-e1507226752437.jpg'],
30
- ['https://templates.invoicehome.com/invoice-template-us-neat-750px.png'],]
31
  demo = gr.Interface(
32
  fn=classify,
33
  inputs=gr.Image(shape=(200, 200)),
 
26
  id2label = {0: "invoice", 1: "receipt"}
27
  return id2label[predicted_class_idx]
28
 
29
+ examples =[['Receipt.jpg'],['invoice.webp'],]
 
30
  demo = gr.Interface(
31
  fn=classify,
32
  inputs=gr.Image(shape=(200, 200)),