Ankerkraut commited on
Commit
9a4a5e2
·
1 Parent(s): 71ee9d9

edit file path

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,9 +14,9 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
14
 
15
  product_strings = []
16
  recipe_strings = []
17
- with open('../Data/product_strings.json', 'r', encoding='utf-8') as f:
18
  product_strings = [product for product in json.load(f)["recipe_strings"]]
19
- with open('../Data/recipe_strings.json', 'r', encoding='utf-8') as f:
20
  recipe_strings = [recipe for recipe in json.load(f)["recipe_strings"]]
21
 
22
  client = QdrantClient(":memory:") #QdrantClient("localhost:6333")
 
14
 
15
  product_strings = []
16
  recipe_strings = []
17
+ with open('./Data/product_strings.json', 'r', encoding='utf-8') as f:
18
  product_strings = [product for product in json.load(f)["recipe_strings"]]
19
+ with open('./Data/recipe_strings.json', 'r', encoding='utf-8') as f:
20
  recipe_strings = [recipe for recipe in json.load(f)["recipe_strings"]]
21
 
22
  client = QdrantClient(":memory:") #QdrantClient("localhost:6333")