Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ if uploaded_file:
|
|
44 |
)
|
45 |
|
46 |
# Cargar índice RAG
|
47 |
-
rag_index = RagIndex.
|
48 |
|
49 |
# Crear cadena RAG
|
50 |
llm = HuggingFaceHub(repo_id=model_name, huggingfacehub_api_token=huggingface_token, model_kwargs={"max_new_tokens": 3})
|
|
|
44 |
)
|
45 |
|
46 |
# Cargar índice RAG
|
47 |
+
rag_index = RagIndex.from_huggingface("meta-llama/Llama-3.2-1B")
|
48 |
|
49 |
# Crear cadena RAG
|
50 |
llm = HuggingFaceHub(repo_id=model_name, huggingfacehub_api_token=huggingface_token, model_kwargs={"max_new_tokens": 3})
|