Arnab Das commited on
Commit
a509d27
·
1 Parent(s): 861636f
Files changed (2) hide show
  1. app.py +3 -4
  2. requirements.txt +1 -1
app.py CHANGED
@@ -29,11 +29,10 @@ demo = gr.Blocks()
29
  file_proc = gr.Interface(
30
  fn=process,
31
  inputs=[
32
- gr.Audio(sources=["microphone", "upload"], type="filepath", show_download_button=True, label="Speech file (<30s)", max_length=30),
 
33
  ],
34
- outputs=["text"
35
- #gr.Plot(label="Frame wise prediction")
36
- ],
37
  title="Find the manipulation: Analyze 'Real' or 'Manipulated' audio.",
38
  description=(
39
  "Analyze, detect and localize manipulation in an audio with a click of a button. Upload a .wav or .flac file."
 
29
  file_proc = gr.Interface(
30
  fn=process,
31
  inputs=[
32
+ #gr.Audio(sources=["microphone", "upload"], type="filepath", show_download_button=True, label="Speech file (<30s)", max_length=30),
33
+ gr.Audio(sources=["upload"], label="Speech file (<30s)", type="filepath")
34
  ],
35
+ outputs="text", #gr.Plot(label="Frame wise prediction")
 
 
36
  title="Find the manipulation: Analyze 'Real' or 'Manipulated' audio.",
37
  description=(
38
  "Analyze, detect and localize manipulation in an audio with a click of a button. Upload a .wav or .flac file."
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio
2
  torch==2.4.0
3
  torchaudio==2.4.0
4
  numpy==1.24.4
 
1
+ gradio==3.50.2
2
  torch==2.4.0
3
  torchaudio==2.4.0
4
  numpy==1.24.4