Commit e313b68f authored by Bernhard Liebl's avatar Bernhard Liebl
Browse files

cache sbert contextual embeddings for binder speedups

parent c6a568bb
...@@ -88,7 +88,7 @@ def initialize(display_mode="auto"): ...@@ -88,7 +88,7 @@ def initialize(display_mode="auto"):
if _display_mode == DisplayMode.SERVER: if _display_mode == DisplayMode.SERVER:
os.environ["BOKEH_ALLOW_WS_ORIGIN"] = ",".join( os.environ["BOKEH_ALLOW_WS_ORIGIN"] = ",".join(
[f"localhost:{port}" for port in range(8890, 8893)]) [f"localhost:{port}" for port in range(8888, 8898)])
bokeh.io.output_notebook() bokeh.io.output_notebook()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment