Update src/streamlit_app.py
Browse files- 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["
|
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)
|