(port: int, config_file: str)
| 51 | |
| 52 | |
| 53 | def create_app(port: int, config_file: str): |
| 54 | with open(config_file) as f: |
| 55 | config: dict = pw.load_yaml(f) |
| 56 | |
| 57 | print("Config:", config) |
| 58 | config.update(port=port) |
| 59 | app = App(**config) |
| 60 | return app |
| 61 | |
| 62 | |
| 63 | def test_rag_app_accuracy(port: int): |
no test coverage detected