mojad121 commited on
Commit
be37e8b
·
verified ·
1 Parent(s): 3f66216

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -9,7 +9,7 @@ os.environ["TRANSFORMERS_CACHE"] = "/app/.cache/huggingface"
9
  os.environ["HF_HOME"] = "/app/.cache/huggingface"
10
  os.environ["TORCH_HOME"] = "/app/.cache/torch"
11
 
12
- hf_token = st.secrets["Hf_token"]
13
 
14
  whisper_processor = WhisperProcessor.from_pretrained("openai/whisper-tiny", token=hf_token)
15
  whisper_model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-tiny", token=hf_token)
 
9
  os.environ["HF_HOME"] = "/app/.cache/huggingface"
10
  os.environ["TORCH_HOME"] = "/app/.cache/torch"
11
 
12
+ hf_token = st.secrets["HateSpeechMujtabatoken"]
13
 
14
  whisper_processor = WhisperProcessor.from_pretrained("openai/whisper-tiny", token=hf_token)
15
  whisper_model = WhisperForConditionalGeneration.from_pretrained("openai/whisper-tiny", token=hf_token)