Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,11 @@ def main_note(audio):
|
|
| 42 |
|
| 43 |
demo = gr.Interface(
|
| 44 |
main_note,
|
| 45 |
-
gr.Audio(source="microphone"),
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
gr.Label(num_top_classes=4),
|
| 47 |
#examples=[
|
| 48 |
# [os.path.join(os.path.dirname(__file__),"audio/recording1.wav")],
|
|
|
|
| 42 |
|
| 43 |
demo = gr.Interface(
|
| 44 |
main_note,
|
| 45 |
+
#gr.Audio(source="microphone"),
|
| 46 |
+
gr.Audio(source="microphone",
|
| 47 |
+
type="filepath",
|
| 48 |
+
info="Use your microphone to record audio",
|
| 49 |
+
label="Use Microphone for Reference"),
|
| 50 |
gr.Label(num_top_classes=4),
|
| 51 |
#examples=[
|
| 52 |
# [os.path.join(os.path.dirname(__file__),"audio/recording1.wav")],
|