Spaces:
Runtime error
Runtime error
some changes
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def classify_image(img):
|
|
12 |
|
13 |
inputs = gr.inputs.Image(shape=(192,192))
|
14 |
outputs = gr.outputs.Label()
|
15 |
-
examples = ['
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs="image", outputs="label",examples=examples,title = "Anime or Real Face Classifier", article="<p style='text-align: center'><a href='https://github.com/Sart-Hack' target='_blank'>Blog post</a></p>")
|
18 |
intf.launch(inline=False,share=True)
|
|
|
12 |
|
13 |
inputs = gr.inputs.Image(shape=(192,192))
|
14 |
outputs = gr.outputs.Label()
|
15 |
+
examples = ['anime.jpeg','real.jpg','dunno.jpg']
|
16 |
|
17 |
intf = gr.Interface(fn=classify_image, inputs="image", outputs="label",examples=examples,title = "Anime or Real Face Classifier", article="<p style='text-align: center'><a href='https://github.com/Sart-Hack' target='_blank'>Blog post</a></p>")
|
18 |
intf.launch(inline=False,share=True)
|