Spaces:
Runtime error
Runtime error
LVKinyanjui
commited on
Commit
•
5158d59
1
Parent(s):
184d783
Another attempt to solve the permissions error
Browse files- app_inference.py +1 -1
app_inference.py
CHANGED
@@ -11,7 +11,7 @@ SYSTEM_MESSAGE = "You are a hepful, knowledgeable assistant"
|
|
11 |
|
12 |
# ENV VARS
|
13 |
# To avert Permision error with transformer and hf models
|
14 |
-
os.environ['SENTENCE_TRANSFORMERS_HOME'] = '
|
15 |
token = os.getenv("HF_TOKEN_READ")
|
16 |
|
17 |
# STREAMLIT UI AREA
|
|
|
11 |
|
12 |
# ENV VARS
|
13 |
# To avert Permision error with transformer and hf models
|
14 |
+
os.environ['SENTENCE_TRANSFORMERS_HOME'] = '.'
|
15 |
token = os.getenv("HF_TOKEN_READ")
|
16 |
|
17 |
# STREAMLIT UI AREA
|