Spaces:
Runtime error
Runtime error
Brandon Rowlett
commited on
Commit
·
b42e825
1
Parent(s):
5decb04
making instructions a bit clearer
Browse files
app.py
CHANGED
@@ -25,8 +25,8 @@ def main():
|
|
25 |
pred,pred_idx,probs = learn.predict(img)
|
26 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
27 |
|
28 |
-
title = "
|
29 |
-
description = "
|
30 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
31 |
interpretation='default'
|
32 |
enable_queue=True
|
|
|
25 |
pred,pred_idx,probs = learn.predict(img)
|
26 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
27 |
|
28 |
+
title = "Cat Vs Dog Classifier"
|
29 |
+
description = "Will return true if it is a cat, false if it is a dog. Created as a demo for Gradio and HuggingFace Spaces."
|
30 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
31 |
interpretation='default'
|
32 |
enable_queue=True
|