awacke1 commited on
Commit
76a40b0
1 Parent(s): 17e73bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -50,15 +50,15 @@ LARGE_MODEL_BY_LANGUAGE = {
50
  }
51
 
52
  XLARGE_MODEL_BY_LANGUAGE = {
53
- "Dutch": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-dutch", "has_lm": True},
54
  "English": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-english", "has_lm": True},
55
- "French": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-french", "has_lm": True},
56
  "German": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-german", "has_lm": True},
 
 
57
  "Italian": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-italian", "has_lm": True},
 
58
  "Polish": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-polish", "has_lm": True},
59
  "Portuguese": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-portuguese", "has_lm": True},
60
- "Russian": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-russian", "has_lm": True},
61
- "Spanish": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-spanish", "has_lm": True},
62
  }
63
 
64
 
@@ -154,7 +154,7 @@ gr.Interface(
154
  .result_item_success {background-color:mediumaquamarine;color:white;align-self:start}
155
  .result_item_error {background-color:#ff7070;color:white;align-self:start}
156
  """,
157
- allow_screenshot=False,
158
  allow_flagging="never",
159
  theme="grass"
160
  ).launch(enable_queue=True)
 
50
  }
51
 
52
  XLARGE_MODEL_BY_LANGUAGE = {
 
53
  "English": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-english", "has_lm": True},
54
+ "Spanish": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-spanish", "has_lm": True},
55
  "German": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-german", "has_lm": True},
56
+ "Russian": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-russian", "has_lm": True},
57
+ "French": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-french", "has_lm": True},
58
  "Italian": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-italian", "has_lm": True},
59
+ "Dutch": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-dutch", "has_lm": True},
60
  "Polish": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-polish", "has_lm": True},
61
  "Portuguese": {"model_id": "jonatasgrosman/wav2vec2-xls-r-1b-portuguese", "has_lm": True},
 
 
62
  }
63
 
64
 
 
154
  .result_item_success {background-color:mediumaquamarine;color:white;align-self:start}
155
  .result_item_error {background-color:#ff7070;color:white;align-self:start}
156
  """,
157
+ allow_screenshot=True,
158
  allow_flagging="never",
159
  theme="grass"
160
  ).launch(enable_queue=True)