Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =[['
|
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)),
|