SakshiRathi77 commited on
Commit
3d69495
1 Parent(s): 65eb9eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -41,22 +41,14 @@ def rt_transcribe(audio, state=""):
41
  demo = gr.Blocks()
42
  examples=[["examples/example1.mp3"], ["examples/example2.mp3"],["examples/example3.mp3"]]
43
 
44
- <style>
45
- .full-bg {
46
- background-image: url('https://huggingface.co/spaces/SakshiRathi77/SakshiRathi77-Wav2Vec2-hi-kagglex/resolve/main/Images/image-bg.jpg');
47
- background-size: cover;
48
- height: 100vh;
49
- }
50
- </style>
51
 
52
 
53
- description = """
54
 
55
- <div class="full-bg">
56
  <p style="font-family: 'Arial', sans-serif; font-size: 24px; font-weight: bold;">
57
  <center>
58
  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.
59
- <img src="https://huggingface.co/spaces/SakshiRathi77/SakshiRathi77-Wav2Vec2-hi-kagglex/blob/main/Images/Hindi-Speech-Voice-Recognition-Tool.jpg" alt="logo" style="width:500px;height:auto;>
60
  </center>
61
  </p>
62
  </div>
 
41
  demo = gr.Blocks()
42
  examples=[["examples/example1.mp3"], ["examples/example2.mp3"],["examples/example3.mp3"]]
43
 
 
 
 
 
 
 
 
44
 
45
 
 
46
 
47
+ description = """
48
  <p style="font-family: 'Arial', sans-serif; font-size: 24px; font-weight: bold;">
49
  <center>
50
  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.
51
+ <img src="https://huggingface.co/spaces/SakshiRathi77/SakshiRathi77-Wav2Vec2-hi-kagglex/resolve/main/Images/Hindi-Speech-Voice-Recognition-Tool.jpg" alt="logo" ;>
52
  </center>
53
  </p>
54
  </div>