sangambhamare commited on
Commit
b7f9da0
·
verified ·
1 Parent(s): 15ebcb6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,12 +37,12 @@ with gr.Blocks() as demo:
37
  gr.Markdown("<h1 style='text-align: center;'>Truth Detection from Audio Stories</h1>")
38
  gr.Markdown(
39
  "<p style='text-align: center;'>"
40
- "This tool analyzes a 30-second audio story and predicts whether it is true or deceptive "
41
  "based on MFCC features and a trained Random Forest classifier."
42
  "</p>"
43
  )
44
 
45
- audio_input = gr.Audio(type="filepath", label="Upload WAV Audio File (30 seconds)")
46
  output = gr.Textbox(label="Prediction")
47
  submit_btn = gr.Button("Predict")
48
  submit_btn.click(fn=predict_audio, inputs=audio_input, outputs=output)
 
37
  gr.Markdown("<h1 style='text-align: center;'>Truth Detection from Audio Stories</h1>")
38
  gr.Markdown(
39
  "<p style='text-align: center;'>"
40
+ "This tool analyzes an audio story and predicts whether it is true or deceptive "
41
  "based on MFCC features and a trained Random Forest classifier."
42
  "</p>"
43
  )
44
 
45
+ audio_input = gr.Audio(type="filepath", label="Upload WAV Audio File")
46
  output = gr.Textbox(label="Prediction")
47
  submit_btn = gr.Button("Predict")
48
  submit_btn.click(fn=predict_audio, inputs=audio_input, outputs=output)