ruslanmv commited on
Commit
f449872
·
1 Parent(s): af69422

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,6 @@ watsonx_project_id = ""
10
  api_key = ""
11
  def main():
12
  utils.get_credentials()
13
- client=utils.chromadb_client()
14
  st.set_page_config(layout="wide", page_title="RAG Web Demo", page_icon="")
15
  utils.load_css("styles.css")
16
  # Streamlit app title with style
@@ -40,6 +39,7 @@ def main():
40
  st.markdown("<hr>", unsafe_allow_html=True)
41
  st.subheader("Response")
42
  collection_name="base"
 
43
  if globals()["api_key"] and globals()["watsonx_project_id"]:
44
  # Provide a unique name for this website (lower case). Use the same name for the same URL to avoid loading data multiple times.
45
  #collection_name = utils.create_collection_name(user_url)
 
10
  api_key = ""
11
  def main():
12
  utils.get_credentials()
 
13
  st.set_page_config(layout="wide", page_title="RAG Web Demo", page_icon="")
14
  utils.load_css("styles.css")
15
  # Streamlit app title with style
 
39
  st.markdown("<hr>", unsafe_allow_html=True)
40
  st.subheader("Response")
41
  collection_name="base"
42
+ client=utils.chromadb_client()
43
  if globals()["api_key"] and globals()["watsonx_project_id"]:
44
  # Provide a unique name for this website (lower case). Use the same name for the same URL to avoid loading data multiple times.
45
  #collection_name = utils.create_collection_name(user_url)