coycs commited on
Commit
edc8935
1 Parent(s): be1b5db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -352,7 +352,7 @@ class Process_user(BaseModel): # 接口数据类型
352
  async def process_user(user: Process_user):
353
  mode = user.mode # 选择的井间连通模式
354
  df_inside = pd.read_csv(
355
- "./data/mode_{}.csv".format(mode)).dropna(axis=0) # 连通模式对应的内置数据
356
  df_user = json2df(user.data)
357
  abnormal = user.abnormal[0]
358
  miss = user.miss[0]
 
352
  async def process_user(user: Process_user):
353
  mode = user.mode # 选择的井间连通模式
354
  df_inside = pd.read_csv(
355
+ "./mode_{}.csv".format(mode)).dropna(axis=0) # 连通模式对应的内置数据
356
  df_user = json2df(user.data)
357
  abnormal = user.abnormal[0]
358
  miss = user.miss[0]