Spaces:
Sleeping
Sleeping
Commit
·
6c3814d
1
Parent(s):
41122b6
feat: enabled the embeddings endpoint
Browse files
main.py
CHANGED
|
@@ -6,7 +6,7 @@ app = create_app(
|
|
| 6 |
Settings(
|
| 7 |
n_threads=2, # set to number of cpu cores
|
| 8 |
model="model/gguf-model.bin",
|
| 9 |
-
embedding=
|
| 10 |
)
|
| 11 |
)
|
| 12 |
|
|
|
|
| 6 |
Settings(
|
| 7 |
n_threads=2, # set to number of cpu cores
|
| 8 |
model="model/gguf-model.bin",
|
| 9 |
+
embedding=True
|
| 10 |
)
|
| 11 |
)
|
| 12 |
|