Spaces:
Running
Running
2419181221
Browse files
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)
|