Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def answer(history, sample=True, top_p=1, temperature=0.7):
|
|
35 |
preprocess_history = []
|
36 |
|
37 |
for i in range(len(history)):
|
38 |
-
preprocess_history
|
39 |
|
40 |
#text = preprocess(text)
|
41 |
#print('用户: '+text)
|
|
|
35 |
preprocess_history = []
|
36 |
|
37 |
for i in range(len(history)):
|
38 |
+
preprocess_history.append(preprocess(text))
|
39 |
|
40 |
#text = preprocess(text)
|
41 |
#print('用户: '+text)
|