jonny commited on
Commit
d8cac1d
·
1 Parent(s): 460c8c1

Remove .from_texts import

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -63,9 +63,9 @@ def loading_database(open_ai_key):
63
  "Bulevar offers tasty Mexican Cuisine with a laid back style to fine-dining.",
64
  "Bulevar is another restaurant created by Guy and Larry. With the success of their ATX Cocina, Bulevar has created another unique dining experience with high quality dishes."
65
  ]
66
- bulevar_details_retriever = Chroma.from_texts(bulevar_restaurant_texts, persist_directory=REST_PERSIST_DIRECTORY, embedding_function= embeddings)
67
- if not os.path.exists(REST_PERSIST_DIRECTORY):
68
- save_dir(bulevar_details_retriever)
69
  loader = TextLoader('raw_text/food_guide.md')
70
  documents = loader.load()
71
 
 
63
  "Bulevar offers tasty Mexican Cuisine with a laid back style to fine-dining.",
64
  "Bulevar is another restaurant created by Guy and Larry. With the success of their ATX Cocina, Bulevar has created another unique dining experience with high quality dishes."
65
  ]
66
+ # bulevar_details_retriever = Chroma.from_texts(bulevar_restaurant_texts, persist_directory=REST_PERSIST_DIRECTORY, embedding_function= embeddings)
67
+ # if not os.path.exists(REST_PERSIST_DIRECTORY):
68
+ # save_dir(bulevar_details_retriever)
69
  loader = TextLoader('raw_text/food_guide.md')
70
  documents = loader.load()
71