Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,8 +86,8 @@ iface = gr.Interface(
|
|
86 |
inputs=gr.Audio(label="Upload Audio File", type="filepath"),
|
87 |
outputs=[
|
88 |
gr.Textbox(label="Prediction"),
|
89 |
-
gr.Image(label="Waveform"
|
90 |
-
gr.Image(label="Spectrogram"
|
91 |
],
|
92 |
title="Voice Clone Detection",
|
93 |
description="Detects whether a voice is real or an AI-generated clone. Upload an audio file to see the results."
|
|
|
86 |
inputs=gr.Audio(label="Upload Audio File", type="filepath"),
|
87 |
outputs=[
|
88 |
gr.Textbox(label="Prediction"),
|
89 |
+
gr.Image(label="Waveform"), # Adjusted to remove unsupported 'tool' argument
|
90 |
+
gr.Image(label="Spectrogram") # Adjusted to remove unsupported 'tool' argument
|
91 |
],
|
92 |
title="Voice Clone Detection",
|
93 |
description="Detects whether a voice is real or an AI-generated clone. Upload an audio file to see the results."
|