andykr1k commited on
Commit
4155b63
·
1 Parent(s): 0b3667d

Changed cache dir

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -40,9 +40,9 @@ user_interactions = defaultdict(set)
40
  post_features = {}
41
  post_metadata = {}
42
 
43
- if not os.path.exists('/tmp/cache'):
44
- os.makedirs('/tmp/cache')
45
- sentence_model = SentenceTransformer('all-MiniLM-L6-v2', cache_folder='/tmp/cache')
46
 
47
  SUPABASE_URL = os.getenv('supabaseUrl')
48
  SUPABASE_KEY = os.getenv('supabaseAnonKey')
 
40
  post_features = {}
41
  post_metadata = {}
42
 
43
+ if not os.path.exists('/data/.cache'):
44
+ os.makedirs('/data/.cache')
45
+ sentence_model = SentenceTransformer('all-MiniLM-L6-v2', cache_folder='/data/.cache')
46
 
47
  SUPABASE_URL = os.getenv('supabaseUrl')
48
  SUPABASE_KEY = os.getenv('supabaseAnonKey')