Spaces:
Runtime error
Runtime error
Commit
·
a67cf5b
1
Parent(s):
15e89c4
Update app.py
Browse files
app.py
CHANGED
@@ -52,8 +52,8 @@ Welcome to the HindiSpeechPro, a cutting-edge interface powered by a fine-tuned
|
|
52 |
"""
|
53 |
|
54 |
|
55 |
-
css='div {margin-left: auto; margin-right: auto; width: 100%;\
|
56 |
-
|
57 |
|
58 |
mf_transcribe = gr.Interface(
|
59 |
fn=transcribe,
|
@@ -67,7 +67,6 @@ mf_transcribe = gr.Interface(
|
|
67 |
description= description ,
|
68 |
allow_flagging="never",
|
69 |
examples=examples,
|
70 |
-
css=css,
|
71 |
)
|
72 |
|
73 |
rt_transcribe = gr.Interface(
|
@@ -78,11 +77,11 @@ rt_transcribe = gr.Interface(
|
|
78 |
],
|
79 |
outputs=[ "textbox",
|
80 |
"state"],
|
81 |
-
theme=
|
82 |
title="HindiSpeechPro: WAV2VEC-Powered ASR Interface",
|
83 |
description= description ,
|
84 |
allow_flagging="never",
|
85 |
-
live=True
|
86 |
)
|
87 |
|
88 |
|
|
|
52 |
"""
|
53 |
|
54 |
|
55 |
+
# css='div {margin-left: auto; margin-right: auto; width: 100%;\
|
56 |
+
# background-image: url("https://huggingface.co/spaces/SakshiRathi77/SakshiRathi77-Wav2Vec2-hi-kagglex/blob/main/Images/image-bg.jpg"); repeat 0 0;}')
|
57 |
|
58 |
mf_transcribe = gr.Interface(
|
59 |
fn=transcribe,
|
|
|
67 |
description= description ,
|
68 |
allow_flagging="never",
|
69 |
examples=examples,
|
|
|
70 |
)
|
71 |
|
72 |
rt_transcribe = gr.Interface(
|
|
|
77 |
],
|
78 |
outputs=[ "textbox",
|
79 |
"state"],
|
80 |
+
theme="huggingface",
|
81 |
title="HindiSpeechPro: WAV2VEC-Powered ASR Interface",
|
82 |
description= description ,
|
83 |
allow_flagging="never",
|
84 |
+
live=True,
|
85 |
)
|
86 |
|
87 |
|