Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,17 @@ from safetensors import safe_open
|
|
4 |
from sentence_transformers import SentenceTransformer, CrossEncoder, util
|
5 |
import pickle
|
6 |
|
7 |
-
st.title('Search offers')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
bi_encoder = SentenceTransformer('multi-qa-MiniLM-L6-cos-v1')
|
10 |
cross_encoder = CrossEncoder('cross-encoder/ms-marco-MiniLM-L-6-v2')
|
|
|
4 |
from sentence_transformers import SentenceTransformer, CrossEncoder, util
|
5 |
import pickle
|
6 |
|
7 |
+
st.title('Search offers in Fetch app')
|
8 |
+
st.markdown("""Fetch Rewards is a mobile app where you can earn free gift cards by scanning and uploading your shopping receipts.
|
9 |
+
You accumulate points for eligible receipts, which can be redeemed for various gift cards. It's a way to get rewards for your
|
10 |
+
everyday shopping.""")
|
11 |
+
st.markdown("""
|
12 |
+
If you type in a category (ex.diapers), this search engine will return
|
13 |
+
a list of offers relevant to this category. You can also search using
|
14 |
+
brand name (ex. Huggies) or a retailer name (ex.Target). This tool will
|
15 |
+
return relevant offers related to that category, brand or retailer along
|
16 |
+
with the similarity score representing how similar the result offer is to
|
17 |
+
your search query.""")
|
18 |
|
19 |
bi_encoder = SentenceTransformer('multi-qa-MiniLM-L6-cos-v1')
|
20 |
cross_encoder = CrossEncoder('cross-encoder/ms-marco-MiniLM-L-6-v2')
|