Update app.py
Browse files
app.py
CHANGED
|
@@ -13,6 +13,9 @@ import os
|
|
| 13 |
|
| 14 |
class SpyAgent(BasicAgent):
|
| 15 |
|
|
|
|
|
|
|
|
|
|
| 16 |
def perceive(self, req=AgentReq):
|
| 17 |
logger.info("spy perceive: {}".format(req))
|
| 18 |
if req.status == STATUS_START: # 开始新的一局比赛
|
|
|
|
| 13 |
|
| 14 |
class SpyAgent(BasicAgent):
|
| 15 |
|
| 16 |
+
def set_model_name():
|
| 17 |
+
return super().set_model_name()
|
| 18 |
+
|
| 19 |
def perceive(self, req=AgentReq):
|
| 20 |
logger.info("spy perceive: {}".format(req))
|
| 21 |
if req.status == STATUS_START: # 开始新的一局比赛
|