mtoft20 commited on
Commit
da9301f
·
verified ·
1 Parent(s): 702e195

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +4 -7
src/streamlit_app.py CHANGED
@@ -265,14 +265,11 @@ def get_similar_content(content, n_recommendations=5):
265
  show_id = content.get('show_id', '')
266
  st.write(f"🔍 Searching for similar content to: {title} (ID: {show_id})")
267
 
268
- # Base URL for the NocoDB API
269
- base_url = "https://mtoft20-potm.hf.space/api/v1/db/data/noco/p9pozkcw81t9aee"
270
-
271
- # URLs for both similarity tables using table IDs
272
  similarity_table_urls = [
273
- f"{base_url}/mp7bnn9tzhojh7k", # Part 1 similarities
274
- f"{base_url}/m8e5rglns4acmef", # Part 2 similarities
275
- f"{base_url}/m2driodimid10k6" # Part 3 similarities
276
  ]
277
 
278
  similar_items = []
 
265
  show_id = content.get('show_id', '')
266
  st.write(f"🔍 Searching for similar content to: {title} (ID: {show_id})")
267
 
268
+ # URLs for similarity tables using table IDs
 
 
 
269
  similarity_table_urls = [
270
+ "https://mtoft20-potm.hf.space/api/v1/db/data/noco/p9pozkcw81t9aee/mp7bnn9tzhojh7k", # Part 1 similarities
271
+ "https://mtoft20-potm.hf.space/api/v1/db/data/noco/p9pozkcw81t9aee/m8e5rglns4acmef", # Part 2 similarities
272
+ "https://mtoft20-potm.hf.space/api/v1/db/data/noco/p9pozkcw81t9aee/m2driodimid10k6" # Part 3 similarities
273
  ]
274
 
275
  similar_items = []