datacipen commited on
Commit
44152ca
1 Parent(s): 30f4ce1

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -85,7 +85,7 @@ async def start():
85
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = os.environ['HUGGINGFACEHUB_API_TOKEN']
86
  repo_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
87
 
88
- llm = HuggingFaceEndpoint(
89
  repo_id=repo_id, max_new_tokens=8000, temperature=1.0, task="text2text-generation", streaming=True
90
  )
91
 
 
85
  os.environ['HUGGINGFACEHUB_API_TOKEN'] = os.environ['HUGGINGFACEHUB_API_TOKEN']
86
  repo_id = "mistralai/Mixtral-8x7B-Instruct-v0.1"
87
 
88
+ model = HuggingFaceEndpoint(
89
  repo_id=repo_id, max_new_tokens=8000, temperature=1.0, task="text2text-generation", streaming=True
90
  )
91