Spaces:
Running
Running
Commit
·
0216b15
1
Parent(s):
af51f88
lingan guli guli
Browse files
app.py
CHANGED
@@ -9,11 +9,6 @@ import torch
|
|
9 |
import json
|
10 |
import bs4
|
11 |
|
12 |
-
"""
|
13 |
-
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
14 |
-
"""
|
15 |
-
client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
16 |
-
|
17 |
product_strings = []
|
18 |
with open('./Data/products.json', 'r', encoding='utf-8') as f:
|
19 |
for product in json.load(f)['products']:
|
|
|
9 |
import json
|
10 |
import bs4
|
11 |
|
|
|
|
|
|
|
|
|
|
|
12 |
product_strings = []
|
13 |
with open('./Data/products.json', 'r', encoding='utf-8') as f:
|
14 |
for product in json.load(f)['products']:
|