Spaces:
Running
Running
shujianong
commited on
Commit
•
7bf65a5
1
Parent(s):
4cd88b0
Update app.py
Browse files
app.py
CHANGED
@@ -67,4 +67,11 @@ iface= gr.Interface(
|
|
67 |
outputs="text",
|
68 |
)
|
69 |
|
70 |
-
iface.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
outputs="text",
|
68 |
)
|
69 |
|
70 |
+
iface.launch()
|
71 |
+
|
72 |
+
title="Pokemon Card Authenticator"
|
73 |
+
description="Keras CNN trained on 373 genuine and counterfeit Pokemon Card images to classify Pokemon cards as real and fake based on the back graphics of the card. To use it, simply upload your image or click on one of the examples to load them. Please note that this classifier only works with the back graphics of Pokemon cards; the uploaded image needs to be landscape and the Pokemon card needs to be upright in the middle of the image with white background (See examples)."
|
74 |
+
|
75 |
+
examples=[['00395.JPG'], ['00430.JPG']]
|
76 |
+
|
77 |
+
gr.Interface(inference,gr.inputs.Image(type="filepath"),[gr.outputs.Image(type="file",label="TokenCut_attn"),gr.outputs.Image(type="file",label="TokenCut_predication")],title=title,description=description,examples=examples).launch(enable_queue=True)
|