Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files
db.py
CHANGED
|
@@ -134,12 +134,12 @@ class SanatanDatabase:
|
|
| 134 |
|
| 135 |
try:
|
| 136 |
# show a sample data record
|
| 137 |
-
response = collection.get(
|
| 138 |
-
|
| 139 |
-
|
| 140 |
-
|
| 141 |
-
)
|
| 142 |
-
print(response)
|
| 143 |
response = collection.get(
|
| 144 |
limit=1,
|
| 145 |
# offset=index, # pagination via offset
|
|
|
|
| 134 |
|
| 135 |
try:
|
| 136 |
# show a sample data record
|
| 137 |
+
# response = collection.get(
|
| 138 |
+
# limit=1,
|
| 139 |
+
# # offset=index, # pagination via offset
|
| 140 |
+
# include=["metadatas", "documents"],
|
| 141 |
+
# )
|
| 142 |
+
# print(response)
|
| 143 |
response = collection.get(
|
| 144 |
limit=1,
|
| 145 |
# offset=index, # pagination via offset
|