ES-NLP / app.py
Abdel's picture
Update app.py
baee320
raw
history blame
No virus
561 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).launch();
gr.Interface(
[
gr.inputs.Dropdown(["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"], type="index"),
gr.inputs.Slider(4, 6, step=1),
gr.inputs.Textbox(type="number", default=1, label="Duration in seconds"),
],
"audio",
title="Generate a Musical Tone!"
).launch()