Spaces:
Runtime error
Runtime error
David_A
commited on
Commit
·
0c1583f
1
Parent(s):
5def36c
logo_test_2
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def transcribe_audio(audio_file):
|
|
8 |
result = model.transcribe(audio_file, fp16=False)
|
9 |
return result["text"]
|
10 |
|
11 |
-
def inference(
|
12 |
html = (
|
13 |
"<div >"
|
14 |
"<img src='file/logo-digitalix.png' alt='image One'>"
|
@@ -22,10 +22,12 @@ def main():
|
|
22 |
|
23 |
iface = gr.Interface(fn=transcribe_audio, inputs=audio_input,
|
24 |
outputs=output_text, title="Transciption Audio DIGITALIXSA",
|
25 |
-
description=
|
26 |
|
27 |
iface.launch(auth=("admin", "pass1234"))
|
28 |
|
29 |
|
30 |
if __name__ == '__main__':
|
31 |
-
main()
|
|
|
|
|
|
8 |
result = model.transcribe(audio_file, fp16=False)
|
9 |
return result["text"]
|
10 |
|
11 |
+
def inference():
|
12 |
html = (
|
13 |
"<div >"
|
14 |
"<img src='file/logo-digitalix.png' alt='image One'>"
|
|
|
22 |
|
23 |
iface = gr.Interface(fn=transcribe_audio, inputs=audio_input,
|
24 |
outputs=output_text, title="Transciption Audio DIGITALIXSA",
|
25 |
+
description=inference)
|
26 |
|
27 |
iface.launch(auth=("admin", "pass1234"))
|
28 |
|
29 |
|
30 |
if __name__ == '__main__':
|
31 |
+
main()
|
32 |
+
|
33 |
+
# description="Charger l'audio")
|