Asankhaya Sharma commited on
Commit
d9d7774
·
1 Parent(s): 5d1688a

rm sidebar.py

Browse files
Files changed (1) hide show
  1. sidebar.py +0 -11
sidebar.py DELETED
@@ -1,11 +0,0 @@
1
- import streamlit as st
2
-
3
-
4
- def sidebar(supabase):
5
- st.sidebar.title("Database Information")
6
- number_of_docs = number_of_documents(supabase)
7
- st.sidebar.markdown(f"**Docs in DB:** {number_of_docs}")
8
-
9
- def number_of_documents(supabase):
10
- documents = supabase.table("documents").select("id", count="exact").execute()
11
- return documents.count