File size: 426 Bytes
5aa54db
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import gradio as gr

description = "TWIX - Alexa Taskbot Challenge"
title = "Identify ingredients to add and remove"
examples = [["lobster is good and fish isn't"],["I want a tomatoes pizza with banana and no ham"]]

interface = gr.Interface.load("huggingface/harr/distilbert-base-uncased-finetuned-ingredients",
            description=description,
            examples=examples,
            title=title
)

interface.launch()