Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ json_file = hf_hub_download(repo_id="map222/recipe-spice-model", filename="ingre
|
|
10 |
with open(json_file, 'r') as json_stream:
|
11 |
ingredient_count = json.load(json_stream )
|
12 |
|
13 |
-
w2v_file = hf_hub_download(repo_id="map222/recipe-spice-model", filename="
|
14 |
recipe_w2v = KeyedVectors.load(w2v_file)
|
15 |
print('Loaded w2v')
|
16 |
recipe_tsv = hf_hub_download(repo_id="map222/recipe-spice-model", filename="recipe_NER.tsv")
|
|
|
10 |
with open(json_file, 'r') as json_stream:
|
11 |
ingredient_count = json.load(json_stream )
|
12 |
|
13 |
+
w2v_file = hf_hub_download(repo_id="map222/recipe-spice-model", filename="recipe_w2v_16.gensim")
|
14 |
recipe_w2v = KeyedVectors.load(w2v_file)
|
15 |
print('Loaded w2v')
|
16 |
recipe_tsv = hf_hub_download(repo_id="map222/recipe-spice-model", filename="recipe_NER.tsv")
|