Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ df = pd.read_csv(input_datapath, index_col=0)
|
|
| 11 |
|
| 12 |
#os.environ["OPENAI_API_KEY"] = st.secrets("OPENAI_API_KEY")
|
| 13 |
#openai.api_key = st.secrets("OPENAI_API_KEY")
|
| 14 |
-
st.title("
|
| 15 |
|
| 16 |
|
| 17 |
#adding another column having the summary as title and the actual text as content
|
|
@@ -70,5 +70,5 @@ prompt = st.text_input("What do you want to search for? : ")
|
|
| 70 |
top_n = st.number_input("How many results do you want to see? : ", min_value = 1)
|
| 71 |
results,product = search_reviews(df, prompt, top_n)
|
| 72 |
|
| 73 |
-
st.write(
|
| 74 |
|
|
|
|
| 11 |
|
| 12 |
#os.environ["OPENAI_API_KEY"] = st.secrets("OPENAI_API_KEY")
|
| 13 |
#openai.api_key = st.secrets("OPENAI_API_KEY")
|
| 14 |
+
st.title("Semantic Search")
|
| 15 |
|
| 16 |
|
| 17 |
#adding another column having the summary as title and the actual text as content
|
|
|
|
| 70 |
top_n = st.number_input("How many results do you want to see? : ", min_value = 1)
|
| 71 |
results,product = search_reviews(df, prompt, top_n)
|
| 72 |
|
| 73 |
+
st.write(product,producr)
|
| 74 |
|