ES-NLP / app.py
Abdel's picture
Update app.py
3fd0396
raw
history blame
337 Bytes
import gradio as gr
examples = [["Hello, my name is Josh and I live in Berlin."], ["There once was a pineapple"]]
gr.Interface.load("huggingface/elastic/distilbert-base-uncased-finetuned-conll03-english", examples=examples,gr.inputs.Dropdown(["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"], type="index")).launch();