Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,8 +14,10 @@ Search is an area that a lot of companies have invested in. Any retail company h
|
|
14 |
One of the bottlenecks in including semantics in search is latency - The more sophisticated the search, the slower the search inference will be. This is why for semantic search, there is no one-stop solution in a real-world scenario. Even though we have ChatGPT to return amazing results with the right prompting, we know what the latency this will incur, thus making it less viable in this scenario :-)
|
15 |
"""
|
16 |
|
17 |
-
|
18 |
-
|
|
|
|
|
19 |
|
20 |
"""## Install dependencies"""
|
21 |
'''
|
@@ -36,6 +38,7 @@ import numpy as np
|
|
36 |
import requests
|
37 |
import os
|
38 |
import pickle
|
|
|
39 |
|
40 |
from sentence_transformers import SentenceTransformer
|
41 |
|
|
|
14 |
One of the bottlenecks in including semantics in search is latency - The more sophisticated the search, the slower the search inference will be. This is why for semantic search, there is no one-stop solution in a real-world scenario. Even though we have ChatGPT to return amazing results with the right prompting, we know what the latency this will incur, thus making it less viable in this scenario :-)
|
15 |
"""
|
16 |
|
17 |
+
'''
|
18 |
+
from google.colab import drive
|
19 |
+
drive.mount('/content/drive')
|
20 |
+
'''
|
21 |
|
22 |
"""## Install dependencies"""
|
23 |
'''
|
|
|
38 |
import requests
|
39 |
import os
|
40 |
import pickle
|
41 |
+
import streamlit as st
|
42 |
|
43 |
from sentence_transformers import SentenceTransformer
|
44 |
|