new commit
Browse files
app.py
CHANGED
|
@@ -24,6 +24,6 @@ def classify_food_Ingredient(article):
|
|
| 24 |
return dict(zip(genres, map(float, probs)))
|
| 25 |
|
| 26 |
|
| 27 |
-
label = gr.outputs.Label(num_top_classes=
|
| 28 |
iface = gr.Interface(fn=classify_food_Ingredient, inputs="text", outputs=label)
|
| 29 |
iface.launch(inline=False)
|
|
|
|
| 24 |
return dict(zip(genres, map(float, probs)))
|
| 25 |
|
| 26 |
|
| 27 |
+
label = gr.outputs.Label(num_top_classes=5)
|
| 28 |
iface = gr.Interface(fn=classify_food_Ingredient, inputs="text", outputs=label)
|
| 29 |
iface.launch(inline=False)
|