Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -60,7 +60,7 @@ def create_interface():
|
|
60 |
return gr.Interface(
|
61 |
fn=analyze_speech,
|
62 |
inputs=gr.Audio(
|
63 |
-
|
64 |
type="filepath",
|
65 |
label="Upload or Record Audio"
|
66 |
),
|
|
|
60 |
return gr.Interface(
|
61 |
fn=analyze_speech,
|
62 |
inputs=gr.Audio(
|
63 |
+
sources=["microphone", "upload"], # Changed from source to sources
|
64 |
type="filepath",
|
65 |
label="Upload or Record Audio"
|
66 |
),
|