Commit 31bf67f0 by ‘chizw’

[+]限制优化

1 parent c7a05d7e
Showing 1 changed file with 5 additions and 0 deletions
...@@ -60,6 +60,11 @@ def generate_random_filename(): ...@@ -60,6 +60,11 @@ def generate_random_filename():
def hello_world(): def hello_world():
return "Hello World!" return "Hello World!"
@app.get("/funasr/exit")
def exit():
log.info(f"funasr exit !")
sys.exit(0)
@app.get("/funasr/") @app.get("/funasr/")
async def transform_file(): async def transform_file():
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!