Kabatubare commited on
Commit
6781020
·
verified ·
1 Parent(s): 93984af

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -98,12 +98,14 @@ iface = gr.Interface(
98
  inputs=gr.Audio(label="Upload Audio File", type="filepath"),
99
  outputs=[
100
  gr.Textbox(label="Prediction"),
101
- gr.Image(label="Waveform"),
102
  gr.Image(label="Spectrogram"),
103
- gr.Textbox(label="Transcription") # New output for transcription
104
  ],
105
  title="Voice Clone Detection",
106
  description="Detects whether a voice is real or an AI-generated clone. Upload an audio file to see the results."
107
  )
108
 
109
  iface.launch()
 
 
 
98
  inputs=gr.Audio(label="Upload Audio File", type="filepath"),
99
  outputs=[
100
  gr.Textbox(label="Prediction"),
101
+ gr.Textbox(label="Transcription"), # Added comma here
102
  gr.Image(label="Spectrogram"),
103
+ gr.Image(label="Waveform"),
104
  ],
105
  title="Voice Clone Detection",
106
  description="Detects whether a voice is real or an AI-generated clone. Upload an audio file to see the results."
107
  )
108
 
109
  iface.launch()
110
+
111
+