Spaces:
Runtime error
Runtime error
Amar Gill
commited on
Commit
·
02ba6f7
1
Parent(s):
7e642dd
add panda jpg
Browse files
app.py
CHANGED
@@ -18,10 +18,10 @@ def predict(img):
|
|
18 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
19 |
|
20 |
|
21 |
-
title = "
|
22 |
-
description = "
|
23 |
article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
24 |
-
examples = ["siamese.PNG", "poodle.jpg"]
|
25 |
interpretation = "default"
|
26 |
enable_queue = True
|
27 |
|
@@ -34,5 +34,4 @@ gr.Interface(
|
|
34 |
article=article,
|
35 |
examples=examples,
|
36 |
interpretation=interpretation,
|
37 |
-
|
38 |
-
).launch()
|
|
|
18 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
19 |
|
20 |
|
21 |
+
title = "Cat or Dog Classifier"
|
22 |
+
description = "Classifier to determine if a photo is a cat or not."
|
23 |
article = "<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
24 |
+
examples = ["siamese.PNG", "poodle.jpg", "panda.jpg"]
|
25 |
interpretation = "default"
|
26 |
enable_queue = True
|
27 |
|
|
|
34 |
article=article,
|
35 |
examples=examples,
|
36 |
interpretation=interpretation,
|
37 |
+
).launch(enable_queue=enable_queue)
|
|
panda.jpg
ADDED