Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ from sklearn.metrics.pairwise import cosine_similarity
|
|
| 5 |
import numpy as np
|
| 6 |
import json
|
| 7 |
import os
|
| 8 |
-
#للبلبل
|
| 9 |
# 🔹 مدل embedding (برای تشخیص شباهت)
|
| 10 |
embedding_model_name = "HooshvareLab/bert-fa-base-uncased"
|
| 11 |
embedding_tokenizer = AutoTokenizer.from_pretrained(embedding_model_name)
|
|
|
|
| 5 |
import numpy as np
|
| 6 |
import json
|
| 7 |
import os
|
|
|
|
| 8 |
# 🔹 مدل embedding (برای تشخیص شباهت)
|
| 9 |
embedding_model_name = "HooshvareLab/bert-fa-base-uncased"
|
| 10 |
embedding_tokenizer = AutoTokenizer.from_pretrained(embedding_model_name)
|