Compare commits
1 Commits
fdbc6f0543
...
5c9e2f4712
Author | SHA1 | Date |
---|---|---|
coolneng | 5c9e2f4712 |
|
@ -1,3 +1,4 @@
|
||||||
|
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
|
||||||
|
@ -26,9 +27,9 @@ async def execute_task(args):
|
||||||
print(f"Error-corrected sequence: {prediction}")
|
print(f"Error-corrected sequence: {prediction}")
|
||||||
|
|
||||||
|
|
||||||
async def main() -> None:
|
def main() -> None:
|
||||||
args = parse_arguments()
|
args = parse_arguments()
|
||||||
await execute_task(args)
|
run(execute_task(args))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in New Issue