Chris4K commited on
Commit
f5cff4e
·
verified ·
1 Parent(s): 3455289

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -454,7 +454,7 @@ class LlamaGenerator(BaseGenerator):
454
  self,
455
  context: str,
456
  user_input: str,
457
- chat_history: List[Tuple[str, str]],
458
  model_kwargs: Dict[str, Any],
459
  max_history_turns: int = 3,
460
  strategy: str = "default",
@@ -727,7 +727,7 @@ async def generate(
727
  context=request.context or "",
728
  user_input=user_input,
729
  chat_history=chat_history,
730
- config=config
731
  )
732
 
733
  return GenerationResponse(
 
454
  self,
455
  context: str,
456
  user_input: str,
457
+ chat_history: List[Tuple[str, str]],
458
  model_kwargs: Dict[str, Any],
459
  max_history_turns: int = 3,
460
  strategy: str = "default",
 
727
  context=request.context or "",
728
  user_input=user_input,
729
  chat_history=chat_history,
730
+ model_kwargs=config
731
  )
732
 
733
  return GenerationResponse(