Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,7 +23,7 @@ from langchain.chains import ConversationalRetrievalChain
|
|
| 23 |
"""
|
| 24 |
Loading of the LLama3 model
|
| 25 |
"""
|
| 26 |
-
|
| 27 |
model_id = 'meta-llama/Meta-Llama-3-8B-Instruct'
|
| 28 |
device = f'cuda:{cuda.current_device()}' if cuda.is_available() else 'cpu'
|
| 29 |
|
|
|
|
| 23 |
"""
|
| 24 |
Loading of the LLama3 model
|
| 25 |
"""
|
| 26 |
+
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
| 27 |
model_id = 'meta-llama/Meta-Llama-3-8B-Instruct'
|
| 28 |
device = f'cuda:{cuda.current_device()}' if cuda.is_available() else 'cpu'
|
| 29 |
|