KhadgaA commited on
Commit
6196744
·
verified ·
1 Parent(s): 1a30ccd

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from inference_kathbadh import inference_kathbadh
3
+
4
+ audio_1 = gr.Audio(sources="upload", type="filepath", label="Audio 1")
5
+ audio_2 = gr.Audio(sources="upload", type="filepath", label="Audio 2")
6
+ text_output = gr.Textbox(label="Similarity Score")
7
+ gr.Interface(
8
+ fn=inference_kathbadh,
9
+ inputs=[audio_1, audio_2],
10
+ outputs=text_output,
11
+ title="Speaker Verfication",
12
+ ).launch()