|
@@ -62,6 +62,21 @@ class SPAStaticFiles(StaticFiles):
|
|
|
raise ex
|
|
|
|
|
|
|
|
|
+print(
|
|
|
+ f"""
|
|
|
+ ___ __ __ _ _ _ ___
|
|
|
+ / _ \ _ __ ___ _ __ \ \ / /__| |__ | | | |_ _|
|
|
|
+| | | | '_ \ / _ \ '_ \ \ \ /\ / / _ \ '_ \| | | || |
|
|
|
+| |_| | |_) | __/ | | | \ V V / __/ |_) | |_| || |
|
|
|
+ \___/| .__/ \___|_| |_| \_/\_/ \___|_.__/ \___/|___|
|
|
|
+ |_|
|
|
|
+
|
|
|
+
|
|
|
+v{VERSION} - building the best open-source AI user interface.
|
|
|
+https://github.com/open-webui/open-webui
|
|
|
+"""
|
|
|
+)
|
|
|
+
|
|
|
app = FastAPI(docs_url="/docs" if ENV == "dev" else None, redoc_url=None)
|
|
|
|
|
|
app.state.MODEL_FILTER_ENABLED = MODEL_FILTER_ENABLED
|