Skip to content

Commit f8951d2

Browse files
author
sd109
committed
Print settings object on startup
1 parent 6da7a7d commit f8951d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chart/web-app/app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
import gradio as gr
44
from api_startup_check import wait_for_backend
55
from config import AppSettings
6+
import rich
67

78
settings = AppSettings.load("./settings.yml")
9+
rich.print(settings)
810

911
backend_url = str(settings.backend_url)
1012
wait_for_backend(backend_url)
1113

12-
1314
def inference(message, history):
1415
context = ""
1516
for user_input, system_response in history:

0 commit comments

Comments
 (0)