Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 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)
|
|
|
|
| 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)
|