Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -173,8 +173,8 @@ with gr.Blocks() as demo:
|
|
173 |
with gr.Row():
|
174 |
with gr.Column():
|
175 |
# Separate recording and file upload
|
176 |
-
record_input = gr.
|
177 |
-
upload_input = gr.Audio(
|
178 |
threshold_input = gr.Slider(minimum=0, maximum=1, value=0.5, step=0.1, label="Threshold")
|
179 |
with gr.Column():
|
180 |
prediction_output = gr.Textbox(label="Prediction")
|
|
|
173 |
with gr.Row():
|
174 |
with gr.Column():
|
175 |
# Separate recording and file upload
|
176 |
+
record_input = gr.Microphone(type="filepath", label="Record Audio")
|
177 |
+
upload_input = gr.Audio(type="filepath", label="Upload Audio")
|
178 |
threshold_input = gr.Slider(minimum=0, maximum=1, value=0.5, step=0.1, label="Threshold")
|
179 |
with gr.Column():
|
180 |
prediction_output = gr.Textbox(label="Prediction")
|