JaphetHernandez commited on
Commit
e4ad9d2
·
verified ·
1 Parent(s): b57d911

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ if uploaded_file:
44
  )
45
 
46
  # Cargar índice RAG
47
- rag_index = RagIndex.from_directory("path_al_tu_indice_rag")
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})