Spaces:
Sleeping
Sleeping
akshansh36
commited on
Commit
•
0d5ee3c
1
Parent(s):
eb5e00e
Update app.py
Browse files
app.py
CHANGED
@@ -283,11 +283,11 @@ def index_conf():
|
|
283 |
)
|
284 |
|
285 |
def audio_conf():
|
286 |
-
return gr.
|
287 |
-
label="Audio
|
288 |
-
|
289 |
type="filepath",
|
290 |
-
|
291 |
)
|
292 |
|
293 |
def button_conf():
|
|
|
283 |
)
|
284 |
|
285 |
def audio_conf():
|
286 |
+
return gr.Audio(
|
287 |
+
label="Upload or Record Audio",
|
288 |
+
source="microphone", # Allows recording via microphone
|
289 |
type="filepath",
|
290 |
+
file_count="single",
|
291 |
)
|
292 |
|
293 |
def button_conf():
|