Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,9 @@ def generate_tone(note, octave, duration):
|
|
15 |
gr.Interface(
|
16 |
generate_tone,
|
17 |
[
|
18 |
-
gr.
|
19 |
-
gr.
|
20 |
-
gr.
|
21 |
],
|
22 |
"audio",
|
23 |
css=".footer{display:none !important}",
|
|
|
15 |
gr.Interface(
|
16 |
generate_tone,
|
17 |
[
|
18 |
+
gr.Dropdown(notes, type="index"),
|
19 |
+
gr.Slider(4, 6, step=1),
|
20 |
+
gr.Textbox(type="number", default=1, label="Duration in seconds"),
|
21 |
],
|
22 |
"audio",
|
23 |
css=".footer{display:none !important}",
|