Spaces:
Running
Running
minimal change to make it foodydudy
Browse files
app.py
CHANGED
@@ -10,10 +10,10 @@ def predict(img):
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
-
title = "
|
14 |
-
description = "A
|
15 |
-
article="<p style='text-align: center'><a href='https://
|
16 |
-
examples = ['
|
17 |
interpretation='default'
|
18 |
enable_queue=True
|
19 |
|
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
12 |
|
13 |
+
title = "Foodydudy Thai Food Classifier"
|
14 |
+
description = "A 48-class Thai food classifier using model created by @gemmythegeek (AIB 2021). Created as a demo for Gradio and HuggingFace Spaces."
|
15 |
+
article="<p style='text-align: center'><a href='https://gemmythegeek.medium.com/overcome-your-fear-for-thai-food-with-foody-dudy-7ff6d7702b22' target='_blank'>Blog post</a></p>"
|
16 |
+
examples = ['padthai.jpg']
|
17 |
interpretation='default'
|
18 |
enable_queue=True
|
19 |
|