Dreamsome commited on
Commit
41a2d89
1 Parent(s): 602b786

remove error comments

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -30,8 +30,7 @@ class Conversation:
30
  self.messages.append({"role": "assistant", "content": message})
31
 
32
  if len(self.messages) > self.num_of_round*2 + 1:
33
- del self.messages[1:3] //Remove the first round conversation left.
34
- return message
35
 
36
 
37
  prompt = """你是一个中国厨师,用中文回答做菜的问题。你的回答需要满足以下要求:
 
30
  self.messages.append({"role": "assistant", "content": message})
31
 
32
  if len(self.messages) > self.num_of_round*2 + 1:
33
+ del self.messages[1:3]
 
34
 
35
 
36
  prompt = """你是一个中国厨师,用中文回答做菜的问题。你的回答需要满足以下要求: