shivanis14
commited on
Commit
•
75a37a1
1
Parent(s):
8a8cb97
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ from nutrient_analyzer import analyze_nutrients
|
|
7 |
from rda import find_nutrition
|
8 |
from typing import Dict, Any
|
9 |
from calc_cosine_similarity import find_cosine_similarity, find_embedding , find_relevant_file_paths
|
|
|
10 |
|
11 |
#Used the @st.cache_resource decorator on this function.
|
12 |
#This Streamlit decorator ensures that the function is only executed once and its result (the OpenAI client) is cached.
|
|
|
7 |
from rda import find_nutrition
|
8 |
from typing import Dict, Any
|
9 |
from calc_cosine_similarity import find_cosine_similarity, find_embedding , find_relevant_file_paths
|
10 |
+
import pickle
|
11 |
|
12 |
#Used the @st.cache_resource decorator on this function.
|
13 |
#This Streamlit decorator ensures that the function is only executed once and its result (the OpenAI client) is cached.
|