Hendrik Schroeter commited on
Commit
f81803d
1 Parent(s): 31de2a9

Disable audio recording for now

Browse files
Files changed (2) hide show
  1. app.py +6 -6
  2. usage.md +1 -2
app.py CHANGED
@@ -257,13 +257,13 @@ def spec_figure(
257
 
258
 
259
  inputs = [
 
 
 
 
 
260
  gradio.inputs.Audio(
261
- label="Record your own voice",
262
- source="microphone",
263
- type="numpy",
264
- ),
265
- gradio.inputs.Audio(
266
- label="Alternative: Upload audio sample",
267
  source="upload",
268
  type="filepath",
269
  ),
 
257
 
258
 
259
  inputs = [
260
+ # gradio.inputs.Audio(
261
+ # label="Record your own voice",
262
+ # source="microphone",
263
+ # type="numpy",
264
+ # ),
265
  gradio.inputs.Audio(
266
+ label="Upload audio sample",
 
 
 
 
 
267
  source="upload",
268
  type="filepath",
269
  ),
usage.md CHANGED
@@ -1,8 +1,7 @@
1
  **Usage:**
2
 
3
  This demo takes a audio sample and enhances it using DeepFilterNet2.
4
- You can either record a speech sample or alternatively provide one via upload.
5
- Furthermore, you may optionally add some additional background noise to the input sample.
6
  If no samples are provided, a default will be used.
7
 
8
  Long audio files will be trimmed to 10s.
 
1
  **Usage:**
2
 
3
  This demo takes a audio sample and enhances it using DeepFilterNet2.
4
+ Upload a (noisy) speech sample. You may optionally add some additional background noise to the input sample.
 
5
  If no samples are provided, a default will be used.
6
 
7
  Long audio files will be trimmed to 10s.