Spaces:
Build error
Build error
Update asistente_cuantico_pymes_app.py
Browse files
asistente_cuantico_pymes_app.py
CHANGED
|
@@ -27,6 +27,7 @@ def run_quantum_logic():
|
|
| 27 |
def get_llm():
|
| 28 |
return HuggingFaceHub(
|
| 29 |
repo_id="mistralai/Mistral-7B-Instruct-v0.1",
|
|
|
|
| 30 |
model_kwargs={"temperature": 0.5, "max_new_tokens": 200}
|
| 31 |
)
|
| 32 |
|
|
|
|
| 27 |
def get_llm():
|
| 28 |
return HuggingFaceHub(
|
| 29 |
repo_id="mistralai/Mistral-7B-Instruct-v0.1",
|
| 30 |
+
huggingfacehub_api_token="HUGGINGFACEHUB_API_TOKEN", # ← remplaza con tu token
|
| 31 |
model_kwargs={"temperature": 0.5, "max_new_tokens": 200}
|
| 32 |
)
|
| 33 |
|