thomasjacob04 commited on
Commit
50bb3ff
·
verified ·
1 Parent(s): dfb6f73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -72,6 +72,7 @@ HF_LLM_MODEL_ID = "mistralai/Mistral-7B-Instruct-v0.3"
72
  llm = HuggingFaceEndpoint(
73
  repo_id=HF_LLM_MODEL_ID,
74
  huggingfacehub_api_token=HF_API_KEY,
 
75
  )
76
 
77
  from typing import Iterable
 
72
  llm = HuggingFaceEndpoint(
73
  repo_id=HF_LLM_MODEL_ID,
74
  huggingfacehub_api_token=HF_API_KEY,
75
+ task="text-generation", # Add this line to specify the task
76
  )
77
 
78
  from typing import Iterable