horiyouta commited on
Commit
ff652d0
·
1 Parent(s): 7f299e2

2419181221

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -62,6 +62,7 @@ async def check(): return 'ng' if processing else 'ok'
62
 
63
  @router.post('/sb3')
64
  async def sb3(req_data: TextRequest):
 
65
  if processing: return ''
66
  processing = True
67
  data = json.loads(req_data.text)
 
62
 
63
  @router.post('/sb3')
64
  async def sb3(req_data: TextRequest):
65
+ global processing
66
  if processing: return ''
67
  processing = True
68
  data = json.loads(req_data.text)