Spaces:
Running
Running
ashwinpatti
commited on
Commit
·
1cd386f
1
Parent(s):
69c7fed
Update app.py
Browse files
app.py
CHANGED
@@ -84,6 +84,7 @@ def displayResults(results, container):
|
|
84 |
|
85 |
st.title("Indian Movie Search")
|
86 |
st.caption("Using semantic search to improve the search accuracy")
|
|
|
87 |
appTab, detailsTab = st.tabs(["App", "App Technical Details"])
|
88 |
with appTab:
|
89 |
|
@@ -93,10 +94,9 @@ with appTab:
|
|
93 |
- The corpus is made up of Hindi, Telugu, Tamil, Kannada, Bengali, Malayalam, Odiya, Marathi, Punjabi & Gujarathi movies released between 1950 and 2023.
|
94 |
- The app understands the context of the query and returns the results from the datastore.""")
|
95 |
|
96 |
-
top_k = st.slider("Number of Top Hits Generated",min_value=1,max_value=100,value=15)
|
97 |
-
|
98 |
#st.subheader(f"Search Query: {query}")
|
99 |
search_query = st.text_input("Please enter your search query here",value="",key="text_input")
|
|
|
100 |
#search = st.button("Search",key='search_but', help='Click to Search!!')
|
101 |
ranked_hits = []
|
102 |
|
|
|
84 |
|
85 |
st.title("Indian Movie Search")
|
86 |
st.caption("Using semantic search to improve the search accuracy")
|
87 |
+
st.caption(f"Corpus size:{len(df)}")
|
88 |
appTab, detailsTab = st.tabs(["App", "App Technical Details"])
|
89 |
with appTab:
|
90 |
|
|
|
94 |
- The corpus is made up of Hindi, Telugu, Tamil, Kannada, Bengali, Malayalam, Odiya, Marathi, Punjabi & Gujarathi movies released between 1950 and 2023.
|
95 |
- The app understands the context of the query and returns the results from the datastore.""")
|
96 |
|
|
|
|
|
97 |
#st.subheader(f"Search Query: {query}")
|
98 |
search_query = st.text_input("Please enter your search query here",value="",key="text_input")
|
99 |
+
top_k = st.slider("Number of Top Hits Generated",min_value=1,max_value=100,value=15)
|
100 |
#search = st.button("Search",key='search_but', help='Click to Search!!')
|
101 |
ranked_hits = []
|
102 |
|