versae commited on
Commit
cb9cf5b
·
verified ·
1 Parent(s): ea81981

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import spaces
8
  from transformers import pipeline
9
  from huggingface_hub import model_info
10
 
11
- MODEL_NAME = "NbAiLab/whisper-large-sme" #this always needs to stay in line 8 :D sorry for the hackiness
12
  lang = "fi"
13
 
14
  share = (os.environ.get("SHARE", "False")[0].lower() in "ty1") or None
 
8
  from transformers import pipeline
9
  from huggingface_hub import model_info
10
 
11
+ MODEL_NAME = os.environ.get("MODEL_NAME", "NbAiLab/whisper-large-sme")
12
  lang = "fi"
13
 
14
  share = (os.environ.get("SHARE", "False")[0].lower() in "ty1") or None