Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
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()
|