aashnaj commited on
Commit
74ee35b
·
verified ·
1 Parent(s): d5c6c0a

upload recipes

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,7 +5,7 @@ from sentence_transformers import SentenceTransformer
5
  import torch
6
 
7
  # Load knowledge
8
- with open("food_recipe.txt", "r", encoding="utf-8") as file:
9
  knowledge = file.read()
10
  cleaned_chunks = [chunk.strip() for chunk in knowledge.strip().split("\n") if chunk.strip()]
11
  model = SentenceTransformer('all-MiniLM-L6-v2')
 
5
  import torch
6
 
7
  # Load knowledge
8
+ with open("recipesplease.txt", "r", encoding="utf-8") as file:
9
  knowledge = file.read()
10
  cleaned_chunks = [chunk.strip() for chunk in knowledge.strip().split("\n") if chunk.strip()]
11
  model = SentenceTransformer('all-MiniLM-L6-v2')