Spaces:
Runtime error
Runtime error
mindwrapped
commited on
Commit
•
462216f
1
Parent(s):
6e3cc2f
Update app.py
Browse files
app.py
CHANGED
@@ -9,11 +9,11 @@ def check_card(input_img):
|
|
9 |
return pred
|
10 |
|
11 |
demo = gr.Interface(
|
12 |
-
fn=
|
13 |
inputs=gr.Image(shape=(256, 256)),
|
14 |
outputs="text",
|
15 |
examples=['real-1.jpeg','real-2.jpeg','fake-1.jpeg','fake-2.jpeg'],
|
16 |
title='Pokemon Card Checker',
|
17 |
-
description
|
18 |
|
19 |
demo.launch()
|
|
|
9 |
return pred
|
10 |
|
11 |
demo = gr.Interface(
|
12 |
+
fn=check_card,
|
13 |
inputs=gr.Image(shape=(256, 256)),
|
14 |
outputs="text",
|
15 |
examples=['real-1.jpeg','real-2.jpeg','fake-1.jpeg','fake-2.jpeg'],
|
16 |
title='Pokemon Card Checker',
|
17 |
+
description='A resnet34 model fine tuned to determine whether Pokemon cards are real or fake. Dataset is located [here](https://www.kaggle.com/datasets/ongshujian/real-and-fake-pokemon-cards).')
|
18 |
|
19 |
demo.launch()
|