(algo: str, model: Optional[str] = None)
| 80 | default=None, |
| 81 | help="Path to the model or model name.") |
| 82 | def main(algo: str, model: Optional[str] = None): |
| 83 | algo = algo.upper() |
| 84 | if algo == "MTP": |
| 85 | run_MTP(model) |
| 86 | elif algo == "EAGLE3": |
| 87 | run_Eagle3() |
| 88 | elif algo == "NGRAM": |
| 89 | run_ngram() |
| 90 | else: |
| 91 | raise ValueError(f"Invalid algorithm: {algo}") |
| 92 | |
| 93 | |
| 94 | if __name__ == "__main__": |
no test coverage detected