shareen1 commited on
Commit
e0ac191
·
verified ·
1 Parent(s): 14547db

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -0
src/streamlit_app.py CHANGED
@@ -1,6 +1,9 @@
1
  import streamlit as st
2
  from transformers import pipeline
3
  from backend import db_connection # Import db_connection
 
 
 
4
 
5
  # -----------------------------
6
  # Summarizer model
 
1
  import streamlit as st
2
  from transformers import pipeline
3
  from backend import db_connection # Import db_connection
4
+ import os
5
+ os.environ['TRANSFORMERS_CACHE'] = './hf_cache'
6
+
7
 
8
  # -----------------------------
9
  # Summarizer model