Spaces:
Configuration error
Configuration error
Update agent.py
Browse files
agent.py
CHANGED
@@ -200,7 +200,7 @@ def initialize_models(use_api_mode=False):
|
|
200 |
|
201 |
embed_model = HuggingFaceEmbedding(
|
202 |
model_name="llamaindex/vdr-2b-multi-v1",
|
203 |
-
device="
|
204 |
trust_remote_code = True)
|
205 |
|
206 |
# Code LLM
|
|
|
200 |
|
201 |
embed_model = HuggingFaceEmbedding(
|
202 |
model_name="llamaindex/vdr-2b-multi-v1",
|
203 |
+
device="cuda",
|
204 |
trust_remote_code = True)
|
205 |
|
206 |
# Code LLM
|