Spaces:
Build error
Build error
tlemagueresse commited on
Commit ·
8fb0fcd
1
Parent(s): 5201c7c
delete print
Browse files
app.py
CHANGED
|
@@ -29,7 +29,6 @@ def predict_audio(file):
|
|
| 29 |
return f"Prediction: {predicted_label}"
|
| 30 |
|
| 31 |
|
| 32 |
-
print(os.getcwd())
|
| 33 |
example_files = [
|
| 34 |
"/home/user/app/example1.wav",
|
| 35 |
"/home/user/app/example2.wav",
|
|
@@ -46,7 +45,7 @@ demo = gr.Interface(
|
|
| 46 |
outputs=output_text,
|
| 47 |
examples=example_files,
|
| 48 |
title="Quefrency Guardian: Chainsaw Noise Detector",
|
| 49 |
-
description="Drag and drop a .wav audio file to predict whether it contains chainsaw noise or background environment sounds.",
|
| 50 |
)
|
| 51 |
|
| 52 |
if __name__ == "__main__":
|
|
|
|
| 29 |
return f"Prediction: {predicted_label}"
|
| 30 |
|
| 31 |
|
|
|
|
| 32 |
example_files = [
|
| 33 |
"/home/user/app/example1.wav",
|
| 34 |
"/home/user/app/example2.wav",
|
|
|
|
| 45 |
outputs=output_text,
|
| 46 |
examples=example_files,
|
| 47 |
title="Quefrency Guardian: Chainsaw Noise Detector",
|
| 48 |
+
description="Drag and drop a .wav audio file to predict whether it contains chainsaw noise or background environment sounds. Or record a 5-second audio clip and click the Record button to predict.",
|
| 49 |
)
|
| 50 |
|
| 51 |
if __name__ == "__main__":
|