Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,6 @@ def predict(img):
|
|
| 13 |
title = "Pet Classifier"
|
| 14 |
description = "A test with happy and sad dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 15 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
| 16 |
-
examples = ['people-happy.jpeg','sad-man.jpg']
|
| 17 |
|
| 18 |
gr.Interface(
|
| 19 |
fn=predict,
|
|
@@ -22,5 +21,4 @@ gr.Interface(
|
|
| 22 |
title=title,
|
| 23 |
description=description,
|
| 24 |
article=article,
|
| 25 |
-
examples=examples,
|
| 26 |
).launch()
|
|
|
|
| 13 |
title = "Pet Classifier"
|
| 14 |
description = "A test with happy and sad dataset with fastai. Created as a demo for Gradio and HuggingFace Spaces."
|
| 15 |
article="<p style='text-align: center'><a href='https://tmabraham.github.io/blog/gradio_hf_spaces_tutorial' target='_blank'>Blog post</a></p>"
|
|
|
|
| 16 |
|
| 17 |
gr.Interface(
|
| 18 |
fn=predict,
|
|
|
|
| 21 |
title=title,
|
| 22 |
description=description,
|
| 23 |
article=article,
|
|
|
|
| 24 |
).launch()
|