vitrivr / cineast

Cineast is a multi-feature content-based mulitmedia retrieval engine. It is capable of retrieving images, audio- and video sequences as well as 3d models based on edge or color sketches, textual descriptions and example objects.
MIT License
57 stars 50 forks source link

API starts interactive cli anyway #341

Closed x4e-jonas closed 2 years ago

x4e-jonas commented 2 years ago

When you start the cineast Docker container with api cineast.json it will show you the Welcome to the interactive Cineast CLI. anyway and you end up with a (broken) cineast> prompt. In case of Docker, the API server will then stop because there is no TTY.

Since there is a dedicated climode, I'd not expect the API to require an interactive terminal.

Relevant code is probably here: https://github.com/vitrivr/cineast/blob/b9024610461d684857f80ec19461dbd9ca2dc06a/cineast-api/src/main/java/org/vitrivr/cineast/api/Main.java#L55

Changing enableCLI to false has no effect here.