Spaces:
Sleeping
Sleeping
andykr1k commited on
Commit ·
4155b63
1
Parent(s): 0b3667d
Changed cache dir
Browse files
app.py
CHANGED
|
@@ -40,9 +40,9 @@ user_interactions = defaultdict(set)
|
|
| 40 |
post_features = {}
|
| 41 |
post_metadata = {}
|
| 42 |
|
| 43 |
-
if not os.path.exists('/
|
| 44 |
-
os.makedirs('/
|
| 45 |
-
sentence_model = SentenceTransformer('all-MiniLM-L6-v2', cache_folder='/
|
| 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')
|