Tuchuanhuhuhu commited on
Commit
5f0c62a
1 Parent(s): 6e4855e

小改动,去掉了多余变量

Browse files
Files changed (1) hide show
  1. modules/models/models.py +2 -2
modules/models/models.py CHANGED
@@ -460,7 +460,7 @@ class XMChat(BaseLLMModel):
460
  "uuid": self.last_conv_id,
461
  "appraise": "good"
462
  }
463
- response = requests.post(self.url, json=data)
464
  return "👍点赞成功,,感谢反馈~"
465
 
466
  def dislike(self):
@@ -470,7 +470,7 @@ class XMChat(BaseLLMModel):
470
  "uuid": self.last_conv_id,
471
  "appraise": "bad"
472
  }
473
- response = requests.post(self.url, json=data)
474
  return "👎点踩成功,感谢反馈~"
475
 
476
  def prepare_inputs(self, real_inputs, use_websearch, files, reply_language, chatbot):
 
460
  "uuid": self.last_conv_id,
461
  "appraise": "good"
462
  }
463
+ requests.post(self.url, json=data)
464
  return "👍点赞成功,,感谢反馈~"
465
 
466
  def dislike(self):
 
470
  "uuid": self.last_conv_id,
471
  "appraise": "bad"
472
  }
473
+ requests.post(self.url, json=data)
474
  return "👎点踩成功,感谢反馈~"
475
 
476
  def prepare_inputs(self, real_inputs, use_websearch, files, reply_language, chatbot):