Skip to content

Commit

Permalink
Merge branch 'main' of github.com:abdeladim-s/subsai
Browse files Browse the repository at this point in the history
  • Loading branch information
abdeladim-s committed Jun 23, 2023
2 parents 3391fbe + 936aa4f commit 060a4a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/subsai/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"""
import argparse
import importlib.metadata
from typing import List

__author__ = "abdeladim-s"
__contact__ = "https://github.com/abdeladim-s"
Expand Down Expand Up @@ -37,7 +38,7 @@
tools = Tools()


def _handle_media_file(media_file_arg: list[str]):
def _handle_media_file(media_file_arg: List[str]):
res = []
for file in media_file_arg:
if file.endswith('.txt'):
Expand All @@ -60,7 +61,7 @@ def _handle_configs(model_configs_arg: str):
return json.loads(model_configs_arg)


def run(media_file_arg: list[str],
def run(media_file_arg: List[str],
model_name,
model_configs,
destination_folder,
Expand Down

0 comments on commit 060a4a1

Please sign in to comment.