Abdel commited on
Commit
1298995
1 Parent(s): baee320

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -11
app.py CHANGED
@@ -2,15 +2,5 @@ import gradio as gr
2
 
3
  examples = [["Hello, my name is Josh and I live in Berlin."], ["There once was a pineapple"]]
4
 
5
- #gr.Interface.load("huggingface/elastic/distilbert-base-uncased-finetuned-conll03-english", examples=examples).launch();
6
 
7
- gr.Interface(
8
-
9
- [
10
- gr.inputs.Dropdown(["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"], type="index"),
11
- gr.inputs.Slider(4, 6, step=1),
12
- gr.inputs.Textbox(type="number", default=1, label="Duration in seconds"),
13
- ],
14
- "audio",
15
- title="Generate a Musical Tone!"
16
- ).launch()
 
2
 
3
  examples = [["Hello, my name is Josh and I live in Berlin."], ["There once was a pineapple"]]
4
 
5
+ 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();
6