ales commited on
Commit
5b4ea6e
1 Parent(s): 15dadb0

added article section and visitors badge

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -57,6 +57,11 @@ def main(audio_fp: str):
57
 
58
  return text, tech_data_str
59
 
 
 
 
 
 
60
 
61
  iface = gr.Interface(
62
  fn=main,
@@ -72,6 +77,7 @@ iface = gr.Interface(
72
  description=('Мадэль распазнаваньня беларускага маўленьня, навучаная на датсэце Common Voice 8.\n'
73
  'Акустычная мадэль + моўная мадэль.'
74
  ),
 
75
  )
76
 
77
- iface.launch()
 
57
 
58
  return text, tech_data_str
59
 
60
+ article = """
61
+ The model used can be found here: [ales/wav2vec2-cv-be](https://huggingface.co/ales/wav2vec2-cv-be)
62
+
63
+ ![visitors](https://visitor-badge.glitch.me/badge?page_id=huggingface.co/spaces/ales/wav2vec2-cv-be-lm&left_color=#f7f5f5&right_color=#cf4a40)
64
+ """
65
 
66
  iface = gr.Interface(
67
  fn=main,
 
77
  description=('Мадэль распазнаваньня беларускага маўленьня, навучаная на датсэце Common Voice 8.\n'
78
  'Акустычная мадэль + моўная мадэль.'
79
  ),
80
+ article=article,
81
  )
82
 
83
+ iface.launch(enable_queue=True)