Spaces:
Sleeping
Sleeping
Commit
•
6a5142e
1
Parent(s):
ffc8361
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def predict(img):
|
|
12 |
|
13 |
title = "Apple Ripeness Classifier"
|
14 |
description = "Is your apple ripe or rotten? Use this AQCC (apple quality control classifier) trained on web images with fastai."
|
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 = ['apple-fruit-ripe.jpg','rotten.jpg','rotting.jpg']
|
17 |
|
18 |
gr.Interface(
|
@@ -21,6 +21,6 @@ gr.Interface(
|
|
21 |
outputs=gr.Label(num_top_classes=3),
|
22 |
title=title,
|
23 |
description=description,
|
24 |
-
article=article,
|
25 |
examples=examples
|
26 |
).launch()
|
|
|
12 |
|
13 |
title = "Apple Ripeness Classifier"
|
14 |
description = "Is your apple ripe or rotten? Use this AQCC (apple quality control classifier) trained on web images with fastai."
|
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 = ['apple-fruit-ripe.jpg','rotten.jpg','rotting.jpg']
|
17 |
|
18 |
gr.Interface(
|
|
|
21 |
outputs=gr.Label(num_top_classes=3),
|
22 |
title=title,
|
23 |
description=description,
|
24 |
+
# article=article,
|
25 |
examples=examples
|
26 |
).launch()
|