Update src/streamlit_app.py
Browse files- src/streamlit_app.py +2 -0
src/streamlit_app.py
CHANGED
@@ -5,6 +5,8 @@ from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
|
5 |
import streamlit as st
|
6 |
import os
|
7 |
os.environ["TRANSFORMERS_CACHE"] = "/app/.cache/huggingface"
|
|
|
|
|
8 |
|
9 |
|
10 |
@st.cache_resource
|
|
|
5 |
import streamlit as st
|
6 |
import os
|
7 |
os.environ["TRANSFORMERS_CACHE"] = "/app/.cache/huggingface"
|
8 |
+
os.environ["HF_HOME"] = "/app/.cache/huggingface"
|
9 |
+
|
10 |
|
11 |
|
12 |
@st.cache_resource
|