mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-17 00:23:14 +00:00
Log request completion
This commit is contained in:
@@ -260,6 +260,8 @@ class ApiHandler():
|
||||
|
||||
pipeline.infer(inference_args)
|
||||
|
||||
LOGGER.info(f"Request complete.")
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--port', type=int, default=8000)
|
||||
|
||||
Reference in New Issue
Block a user