Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,9 +28,6 @@ def food_not_food_classifier(text: str) -> Dict[str, float]:
|
|
| 28 |
description = """
|
| 29 |
A text classifier to determine if a sentence is about food or not food.
|
| 30 |
|
| 31 |
-
Fine-tuned from [DistilBERT](https://huggingface.co/distilbert/distilbert-base-uncased) on a [small dataset of food and not food text](https://huggingface.co/datasets/mrdbourke/learn_hf_food_not_food_image_captions).
|
| 32 |
-
|
| 33 |
-
See [source code]().
|
| 34 |
"""
|
| 35 |
|
| 36 |
demo = gr.Interface(fn=food_not_food_classifier,
|
|
|
|
| 28 |
description = """
|
| 29 |
A text classifier to determine if a sentence is about food or not food.
|
| 30 |
|
|
|
|
|
|
|
|
|
|
| 31 |
"""
|
| 32 |
|
| 33 |
demo = gr.Interface(fn=food_not_food_classifier,
|