Spaces:
Runtime error
Runtime error
Abubakar Abid
commited on
Commit
·
09da2a2
1
Parent(s):
0a57289
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ output = gr.outputs.HTML(label="")
|
|
84 |
|
85 |
|
86 |
description = (
|
87 |
-
"This demo will compare two speech samples and determine if they are from the same speaker. "
|
88 |
"Try it with your own voice!"
|
89 |
)
|
90 |
article = (
|
@@ -96,33 +96,14 @@ article = (
|
|
96 |
)
|
97 |
examples = [
|
98 |
["samples/cate_blanch.mp3", "samples/cate_blanch_2.mp3"],
|
99 |
-
["samples/cate_blanch.mp3", "samples/cate_blanch_3.mp3"],
|
100 |
-
["samples/cate_blanch_2.mp3", "samples/cate_blanch_3.mp3"],
|
101 |
-
["samples/heath_ledger.mp3", "samples/heath_ledger_2.mp3"],
|
102 |
-
["samples/heath_ledger.mp3", "samples/heath_ledger_3.mp3"],
|
103 |
-
["samples/heath_ledger_2.mp3", "samples/heath_ledger_3.mp3"],
|
104 |
-
["samples/russel_crowe.mp3", "samples/russel_crowe_2.mp3"],
|
105 |
["samples/cate_blanch.mp3", "samples/kirsten_dunst.wav"],
|
106 |
-
["samples/russel_crowe.mp3", "samples/kirsten_dunst.wav"],
|
107 |
-
["samples/russel_crowe_2.mp3", "samples/kirsten_dunst.wav"],
|
108 |
-
["samples/leonardo_dicaprio.mp3", "samples/denzel_washington.mp3"],
|
109 |
-
["samples/heath_ledger.mp3", "samples/denzel_washington.mp3"],
|
110 |
-
["samples/heath_ledger_2.mp3", "samples/denzel_washington.mp3"],
|
111 |
-
["samples/leonardo_dicaprio.mp3", "samples/russel_crowe.mp3"],
|
112 |
-
["samples/leonardo_dicaprio.mp3", "samples/russel_crowe_2.mp3"],
|
113 |
-
["samples/naomi_watts.mp3", "samples/denzel_washington.mp3"],
|
114 |
-
["samples/naomi_watts.mp3", "samples/leonardo_dicaprio.mp3"],
|
115 |
-
["samples/naomi_watts.mp3", "samples/cate_blanch_2.mp3"],
|
116 |
-
["samples/naomi_watts.mp3", "samples/kirsten_dunst.wav"],
|
117 |
]
|
118 |
|
119 |
interface = gr.Interface(
|
120 |
fn=similarity_fn,
|
121 |
inputs=inputs,
|
122 |
outputs=output,
|
123 |
-
title="Voice Authentication with UniSpeech-SAT + X-Vectors",
|
124 |
description=description,
|
125 |
-
article=article,
|
126 |
layout="horizontal",
|
127 |
theme="huggingface",
|
128 |
allow_flagging=False,
|
|
|
84 |
|
85 |
|
86 |
description = (
|
87 |
+
"This demo from Microsoft will compare two speech samples and determine if they are from the same speaker. "
|
88 |
"Try it with your own voice!"
|
89 |
)
|
90 |
article = (
|
|
|
96 |
)
|
97 |
examples = [
|
98 |
["samples/cate_blanch.mp3", "samples/cate_blanch_2.mp3"],
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
["samples/cate_blanch.mp3", "samples/kirsten_dunst.wav"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
]
|
101 |
|
102 |
interface = gr.Interface(
|
103 |
fn=similarity_fn,
|
104 |
inputs=inputs,
|
105 |
outputs=output,
|
|
|
106 |
description=description,
|
|
|
107 |
layout="horizontal",
|
108 |
theme="huggingface",
|
109 |
allow_flagging=False,
|