From 226c7aabdc326489f9c79031d489c4081e31e4c4 Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Wed, 17 May 2023 12:22:11 +0200 Subject: [PATCH] doc(demo): add number of tokens max --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index c23f7277d..eafc94826 100644 --- a/main.py +++ b/main.py @@ -46,7 +46,7 @@ st.markdown("---\n\n") st.session_state["overused"] = False if self_hosted == "false": usage = get_usage_today(supabase) - st.write(f"Usage today: {usage} tokens") + st.write(f"Usage today: {usage} tokens out of {st.secrets.usage_limit}") st.write("---") if usage > st.secrets.usage_limit: