Spaces:
Runtime error
Runtime error
Helder Rodrigues commited on
Commit ·
91cece3
1
Parent(s): 766f295
Add application file
Browse files
app.py
CHANGED
|
@@ -5,9 +5,10 @@ title = "Identify ingredients to add and remove"
|
|
| 5 |
examples = [["lobster is good and fish isn't"],["I want a tomatoes pizza with banana and no ham"]]
|
| 6 |
|
| 7 |
interface = gr.Interface.load("huggingface/harr/distilbert-base-uncased-finetuned-ingredients",
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
| 11 |
)
|
| 12 |
|
| 13 |
interface.launch()
|
|
|
|
| 5 |
examples = [["lobster is good and fish isn't"],["I want a tomatoes pizza with banana and no ham"]]
|
| 6 |
|
| 7 |
interface = gr.Interface.load("huggingface/harr/distilbert-base-uncased-finetuned-ingredients",
|
| 8 |
+
inputs=gr.Textbox(label="Food Request"),
|
| 9 |
+
description=description,
|
| 10 |
+
examples=examples,
|
| 11 |
+
title=title
|
| 12 |
)
|
| 13 |
|
| 14 |
interface.launch()
|