awacke1 commited on
Commit
28c743a
1 Parent(s): d08c56e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -183,7 +183,7 @@ def semantic_search(query, model_id):
183
  for i in indices:
184
  result += f"<li style='padding-top: 10px'><b>{df.iloc[i].title}</b> ({df.iloc[i].release_date}). {df.iloc[i].overview} "
185
  #result += f"<a id='{i}' href='#'>Similar movies</a></li>"
186
- result += f"<a id='{i}' href=https://www.imdb.com/find?q={df.iloc[i].title}&ref_=nv_sr_sm>IMDB</a></li>"
187
  delay = "%.3f" % (time.time() - start)
188
  return f"<p><i>Computation time: {delay} seconds</i></p>{result}</ol>"
189
 
183
  for i in indices:
184
  result += f"<li style='padding-top: 10px'><b>{df.iloc[i].title}</b> ({df.iloc[i].release_date}). {df.iloc[i].overview} "
185
  #result += f"<a id='{i}' href='#'>Similar movies</a></li>"
186
+ #result += f"<a id='{i}' href=https://www.imdb.com/find?q={df.iloc[i].title}&ref_=nv_sr_sm>IMDB</a></li>"
187
  delay = "%.3f" % (time.time() - start)
188
  return f"<p><i>Computation time: {delay} seconds</i></p>{result}</ol>"
189