brajkishore commited on
Commit
54b4d36
·
verified ·
1 Parent(s): 3ec9bc2

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,7 +37,7 @@ os.environ["OPENAI_API_KEY"] = config["OPEN_API_KEY"]
37
 
38
 
39
  # Define the location of the SQLite database
40
- db_loc = '/content/drive/MyDrive/Colab Notebooks/RAG Bootcamp/deploying_rag_on_hf_spaces/ecomm.db'
41
 
42
  # Create a SQLDatabase instance from the SQLite database URI
43
  db = SQLDatabase.from_uri(f"sqlite:///{db_loc}")
@@ -184,7 +184,7 @@ Here are some documents and their source that may be relevant to the question me
184
  {question}
185
  """
186
  # Load the persisted DB
187
- persisted_vectordb_location = '/content/drive/MyDrive/Colab Notebooks/RAG Bootcamp/deploying_rag_on_hf_spaces/policy_docs/policy_docs'
188
  #Create a Colelction Name
189
  collection_name = 'policy_docs'
190
 
 
37
 
38
 
39
  # Define the location of the SQLite database
40
+ db_loc = 'ecomm.db'
41
 
42
  # Create a SQLDatabase instance from the SQLite database URI
43
  db = SQLDatabase.from_uri(f"sqlite:///{db_loc}")
 
184
  {question}
185
  """
186
  # Load the persisted DB
187
+ persisted_vectordb_location = 'policy_docs'
188
  #Create a Colelction Name
189
  collection_name = 'policy_docs'
190