saattrupdan commited on
Commit
6de6f85
·
verified ·
1 Parent(s): 69ec32f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -46,7 +46,7 @@ Venlig hilsen,
46
  [dit navn]""".replace(" ", "+").replace("\n", "%0D")
47
  DESCRIPTION = f"""
48
  This is a demo of the Danish speech recognition model
49
- [Røst](https://huggingface.co/CoRal-project/roest-315m).
50
 
51
  Press "Record" to record your
52
  own voice. When you're done you can press "Stop" to stop recording and "Submit" to
@@ -62,7 +62,7 @@ logger.info("Loading the ASR model...")
62
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
63
  transcriber = pipeline(
64
  task="automatic-speech-recognition",
65
- model="CoRal-project/roest-315m",
66
  device=device,
67
  )
68
 
 
46
  [dit navn]""".replace(" ", "+").replace("\n", "%0D")
47
  DESCRIPTION = f"""
48
  This is a demo of the Danish speech recognition model
49
+ [Røst](https://huggingface.co/CoRal-project/roest-wav2vec2-315m-v2).
50
 
51
  Press "Record" to record your
52
  own voice. When you're done you can press "Stop" to stop recording and "Submit" to
 
62
  device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
63
  transcriber = pipeline(
64
  task="automatic-speech-recognition",
65
+ model="CoRal-project/roest-wav2vec2-315m-v2",
66
  device=device,
67
  )
68