Spaces:
Running
on
Zero
Running
on
Zero
fda
Browse files
babyagi/babyagi.py
CHANGED
@@ -854,6 +854,7 @@ async def completion(message: str, history, c=None, d=None, prompt="γγͺγγ―
|
|
854 |
OBJECTIVE = message
|
855 |
loop = True
|
856 |
result_all = ""
|
|
|
857 |
while loop:
|
858 |
# As long as there are tasks in the storage...
|
859 |
if not tasks_storage.is_empty():
|
@@ -917,7 +918,9 @@ async def completion(message: str, history, c=None, d=None, prompt="γγͺγγ―
|
|
917 |
|
918 |
# Sleep a bit before checking the task list again
|
919 |
#time.sleep(15)
|
920 |
-
|
|
|
|
|
921 |
else:
|
922 |
print('Done.')
|
923 |
loop = False
|
|
|
854 |
OBJECTIVE = message
|
855 |
loop = True
|
856 |
result_all = ""
|
857 |
+
count = 0
|
858 |
while loop:
|
859 |
# As long as there are tasks in the storage...
|
860 |
if not tasks_storage.is_empty():
|
|
|
918 |
|
919 |
# Sleep a bit before checking the task list again
|
920 |
#time.sleep(15)
|
921 |
+
count += 1
|
922 |
+
if count > 6:
|
923 |
+
loop = False
|
924 |
else:
|
925 |
print('Done.')
|
926 |
loop = False
|
chroma/6be188e8-482c-4e1e-8fbd-8157045b1e21/data_level0.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 1676000
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e8df9570d6eee0469cb29270df16d9743e1cd0715ac7c2569b731e15de365db
|
3 |
size 1676000
|
chroma/6be188e8-482c-4e1e-8fbd-8157045b1e21/length.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4000
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f36910092da0ca37ad576a7c2062e63242ba7d56f6ef9475001506b5b48ea3bd
|
3 |
size 4000
|
chroma/chroma.sqlite3
CHANGED
Binary files a/chroma/chroma.sqlite3 and b/chroma/chroma.sqlite3 differ
|
|