CCCCCC commited on
Commit
c3795c4
·
1 Parent(s): 88b98e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -90,6 +90,8 @@ def predict(input, chatbot, max_length, top_p, temperature, history):
90
  responses = []
91
  num = 0
92
  for text in texts:
 
 
93
  num += 1
94
  seed = torch.seed()
95
  torch.manual_seed(seed)
 
90
  responses = []
91
  num = 0
92
  for text in texts:
93
+ chatbot = [(parse_text(input), parse_text(optimized_prompt))]
94
+ yield chatbot, history
95
  num += 1
96
  seed = torch.seed()
97
  torch.manual_seed(seed)