darabos commited on
Commit
b1ca11c
·
1 Parent(s): 28d7312

Run Playwright test with the right venv.

Browse files
.github/workflows/test.yaml CHANGED
@@ -81,6 +81,7 @@ jobs:
81
 
82
  - name: Run Playwright tests
83
  run: |
 
84
  cd lynxkite-app/web
85
  npm run build
86
  npm run test
 
81
 
82
  - name: Run Playwright tests
83
  run: |
84
+ source .venv/bin/activate
85
  cd lynxkite-app/web
86
  npm run build
87
  npm run test
examples/word2vec.py CHANGED
@@ -1,5 +1,4 @@
1
  from lynxkite.core.ops import op
2
- import staticvectors
3
  import pandas as pd
4
 
5
  ENV = "LynxKite Graph Analytics"
@@ -7,6 +6,8 @@ ENV = "LynxKite Graph Analytics"
7
 
8
  @op(ENV, "Word2vec for the top 1000 words", slow=True)
9
  def word2vec_1000():
 
 
10
  model = staticvectors.StaticVectors("neuml/word2vec-quantized")
11
  df = pd.read_csv(
12
  "https://gist.githubusercontent.com/deekayen/4148741/raw/98d35708fa344717d8eee15d11987de6c8e26d7d/1-1000.txt",
 
1
  from lynxkite.core.ops import op
 
2
  import pandas as pd
3
 
4
  ENV = "LynxKite Graph Analytics"
 
6
 
7
  @op(ENV, "Word2vec for the top 1000 words", slow=True)
8
  def word2vec_1000():
9
+ import staticvectors
10
+
11
  model = staticvectors.StaticVectors("neuml/word2vec-quantized")
12
  df = pd.read_csv(
13
  "https://gist.githubusercontent.com/deekayen/4148741/raw/98d35708fa344717d8eee15d11987de6c8e26d7d/1-1000.txt",