mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
add mp3 support for audio
This commit is contained in:
parent
bd7ac25203
commit
1362cbbee4
@ -39,7 +39,7 @@ def main_note(audio):
|
||||
|
||||
iface = gr.Interface(
|
||||
main_note,
|
||||
"microphone",
|
||||
"audio",
|
||||
gr.outputs.Label(num_top_classes=4),
|
||||
examples=[
|
||||
["audio/recording1.wav"],
|
||||
|
@ -11,4 +11,6 @@ scikit-image
|
||||
analytics-python
|
||||
pandas
|
||||
ffmpy
|
||||
librosa
|
||||
colorama>=0.3.9
|
||||
markdown2
|
||||
|
@ -104,7 +104,11 @@ button.submit {
|
||||
background-color: #e67e22;
|
||||
color: white;
|
||||
}
|
||||
.panel_button:hover {
|
||||
.panel_button.inactive {
|
||||
color: lightgray;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.panel_button:not(.inactive):hover {
|
||||
background-color: lightgray;
|
||||
}
|
||||
button.submit:hover {
|
||||
|
Loading…
Reference in New Issue
Block a user