Skip to content

Commit

Permalink
Print settings object on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Jan 22, 2024
1 parent 6da7a7d commit f8951d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chart/web-app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
import gradio as gr
from api_startup_check import wait_for_backend
from config import AppSettings
import rich

settings = AppSettings.load("./settings.yml")
rich.print(settings)

backend_url = str(settings.backend_url)
wait_for_backend(backend_url)


def inference(message, history):
context = ""
for user_input, system_response in history:
Expand Down

0 comments on commit f8951d2

Please sign in to comment.