Spaces:
Sleeping
Sleeping
Helder Rodrigues
commited on
Commit
•
5aa54db
1
Parent(s):
c032c32
demo
Browse files
app.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
description = "TWIX - Alexa Taskbot Challenge"
|
4 |
+
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 |
+
description=description,
|
9 |
+
examples=examples,
|
10 |
+
title=title
|
11 |
+
)
|
12 |
+
|
13 |
+
interface.launch()
|