Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -86,11 +86,11 @@ iface = gr.Interface(
|
|
86 |
inputs=gr.Audio(label="Upload Audio File", type="filepath"),
|
87 |
outputs=[
|
88 |
gr.Textbox(label="Prediction"),
|
89 |
-
gr.
|
90 |
-
gr.
|
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."
|
94 |
)
|
95 |
|
96 |
-
iface.launch()
|
|
|
86 |
inputs=gr.Audio(label="Upload Audio File", type="filepath"),
|
87 |
outputs=[
|
88 |
gr.Textbox(label="Prediction"),
|
89 |
+
gr.Image(label="Waveform", tool="editor"), # Use Image component for waveform
|
90 |
+
gr.Image(label="Spectrogram", tool="editor") # Use Image component for 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."
|
94 |
)
|
95 |
|
96 |
+
iface.launch()
|