shashank-gv / hugging

0 stars 0 forks source link

SUMMARIZE: Have summarise as a synonym for summarize #20

Open gjwgit opened 2 years ago

gjwgit commented 2 years ago

How would we go about having the following two do the same thing:

ml summarise hugging news.txt

and

ml summarize hugging news.txt
shashank-gv commented 2 years ago

Added summarise as another command and simply called summarize.main() in summarise.py

gjwgit commented 2 years ago

Perhaps don't need to list summarise in the mlhub.yaml list of commands - is there any downside not listing it?

shashank-gv commented 2 years ago

Yep, summarise isn't required. I thought mlhub required it under commands to run the python file but that is not the case. Have removed it now.