Compare commits
1 Commits
5c9e2f4712
...
fdbc6f0543
Author | SHA1 | Date |
---|---|---|
coolneng | fdbc6f0543 |
|
@ -1,4 +1,3 @@
|
||||||
from asyncio import run
|
|
||||||
from argparse import ArgumentParser, Namespace
|
from argparse import ArgumentParser, Namespace
|
||||||
|
|
||||||
from model import infer_sequence, train_model
|
from model import infer_sequence, train_model
|
||||||
|
@ -27,9 +26,9 @@ async def execute_task(args):
|
||||||
print(f"Error-corrected sequence: {prediction}")
|
print(f"Error-corrected sequence: {prediction}")
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
async def main() -> None:
|
||||||
args = parse_arguments()
|
args = parse_arguments()
|
||||||
run(execute_task(args))
|
await execute_task(args)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue