Spaces:
Runtime error
Runtime error
SakshiRathi77
commited on
Commit
·
d40a14a
1
Parent(s):
7538ca1
Update app.py
Browse files
app.py
CHANGED
@@ -46,11 +46,12 @@ description = """
|
|
46 |
Welcome to the HindiSpeechPro, a cutting-edge interface powered by a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice dataset. Easily convert your spoken words to accurate text with just a few clicks.
|
47 |
</center>
|
48 |
</p>
|
49 |
-
<center>
|
50 |
<img src="https://huggingface.co/spaces/SakshiRathi77/SakshiRathi77-Wav2Vec2-hi-kagglex/blob/main/Images/Hindi-Speech-Voice-Recognition-Tool.jpg" alt="logo"/>
|
51 |
-
|
52 |
"""
|
53 |
|
|
|
|
|
54 |
mf_transcribe = gr.Interface(
|
55 |
fn=transcribe,
|
56 |
inputs=[
|
@@ -63,6 +64,7 @@ mf_transcribe = gr.Interface(
|
|
63 |
description= description ,
|
64 |
allow_flagging="never",
|
65 |
examples=examples,
|
|
|
66 |
)
|
67 |
|
68 |
rt_transcribe = gr.Interface(
|
|
|
46 |
Welcome to the HindiSpeechPro, a cutting-edge interface powered by a fine-tuned version of facebook/wav2vec2-xls-r-300m on the common_voice dataset. Easily convert your spoken words to accurate text with just a few clicks.
|
47 |
</center>
|
48 |
</p>
|
|
|
49 |
<img src="https://huggingface.co/spaces/SakshiRathi77/SakshiRathi77-Wav2Vec2-hi-kagglex/blob/main/Images/Hindi-Speech-Voice-Recognition-Tool.jpg" alt="logo"/>
|
50 |
+
|
51 |
"""
|
52 |
|
53 |
+
css='div {background-image: url("https://huggingface.co/spaces/SakshiRathi77/SakshiRathi77-Wav2Vec2-hi-kagglex/resolve/main/Images/image-bg.jpg")}'
|
54 |
+
|
55 |
mf_transcribe = gr.Interface(
|
56 |
fn=transcribe,
|
57 |
inputs=[
|
|
|
64 |
description= description ,
|
65 |
allow_flagging="never",
|
66 |
examples=examples,
|
67 |
+
css=css,
|
68 |
)
|
69 |
|
70 |
rt_transcribe = gr.Interface(
|