Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,11 +33,14 @@ clip_detector = pipeline(model="openai/clip-vit-large-patch14", task="zero-shot-
|
|
| 33 |
# Diese Labels verwendet das CLIP-Modell zur Einordnung des Bildes
|
| 34 |
# Mischung aus Junkfood und Früchten/Gemüse
|
| 35 |
food_labels = [
|
| 36 |
-
"
|
| 37 |
-
"
|
| 38 |
-
"
|
| 39 |
-
"
|
| 40 |
-
"
|
|
|
|
|
|
|
|
|
|
| 41 |
]
|
| 42 |
|
| 43 |
# ===========================
|
|
|
|
| 33 |
# Diese Labels verwendet das CLIP-Modell zur Einordnung des Bildes
|
| 34 |
# Mischung aus Junkfood und Früchten/Gemüse
|
| 35 |
food_labels = [
|
| 36 |
+
"apple", "apple_braeburn", "apple_core", "apple_crimson_snow", "apple_granny_smith", "apple_pink_lady",
|
| 37 |
+
"apple_red_delicios", "apple_red_yellow", "apple_rotten", "apple_worm", "avocado_black", "avocado_green",
|
| 38 |
+
"baked_potato", "banana", "beans", "blackberrie", "blackberrie_half_rippen", "blackberrie_not_rippen",
|
| 39 |
+
"burger", "cabbage_red", "cabbage_white", "cactus_fruit_green", "cactus_fruit_red", "caju_seed", "carrot",
|
| 40 |
+
"cherimoya", "cherry", "cherry_rainier", "cherry_sour", "cherry_wax_not_ripen", "cherry_wax_red",
|
| 41 |
+
"cooked_chicken", "crispy_chicken", "cucumber", "donut", "eggplant_long", "fries", "gooseberry", "hot_dog",
|
| 42 |
+
"pear", "pistachio", "pizza", "quince", "sandwich", "taco", "taquito", "tomato", "tomato_cherry_maroon",
|
| 43 |
+
"tomato_cherry_orange", "tomato_cherry_red", "tomato_cherry_yellow", "tomato_maroon", "zucchini", "zucchini_dark"
|
| 44 |
]
|
| 45 |
|
| 46 |
# ===========================
|