Viper51 commited on
Commit
796470b
·
verified ·
1 Parent(s): 3152a5d

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -75,7 +75,7 @@ def fetch_news():
75
  @st.cache_resource
76
  def load_model_and_tokenizer():
77
  # Define a writable cache directory inside your project folder
78
- cache_dir = "hf_cache"
79
 
80
  with st.spinner("Loading summarization model... please wait."):
81
  # Pass the cache_dir directly to the download function
 
75
  @st.cache_resource
76
  def load_model_and_tokenizer():
77
  # Define a writable cache directory inside your project folder
78
+ cache_dir = "/tmp/hf_cache"
79
 
80
  with st.spinner("Loading summarization model... please wait."):
81
  # Pass the cache_dir directly to the download function