SandLogicTechnologies commited on
Commit
57ebcf1
·
verified ·
1 Parent(s): 7e59f2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def generate(
42
  top_k: int = 50,
43
  repetition_penalty: float = 1.2,
44
  ) -> Iterator[str]:
45
- conversation = []
46
  for user, assistant in chat_history:
47
  conversation.extend(
48
  [
 
42
  top_k: int = 50,
43
  repetition_penalty: float = 1.2,
44
  ) -> Iterator[str]:
45
+ conversation = [json.loads(os.getenv("PROMPT"))]
46
  for user, assistant in chat_history:
47
  conversation.extend(
48
  [