Spaces:
Running
on
Zero
Running
on
Zero
dfa
Browse files- babyagi/babyagi.py +3 -1
babyagi/babyagi.py
CHANGED
@@ -163,9 +163,11 @@ JOIN_EXISTING_OBJECTIVE = False
|
|
163 |
OBJECTIVE = "ใใใใฎๆง่ฝใใใใใๆนๆณใๆฅๆฌ่ชใง่ชฌๆ"
|
164 |
OBJECTIVE = f"""ใใฃใใใใใใงใฎๅบๅๅฑ้"""
|
165 |
args = sys.argv
|
166 |
-
if args:
|
167 |
print(args[1])
|
168 |
OBJECTIVE = args[1]
|
|
|
|
|
169 |
|
170 |
INITIAL_TASK = os.getenv("INITIAL_TASK", os.getenv("FIRST_TASK", ""))
|
171 |
|
|
|
163 |
OBJECTIVE = "ใใใใฎๆง่ฝใใใใใๆนๆณใๆฅๆฌ่ชใง่ชฌๆ"
|
164 |
OBJECTIVE = f"""ใใฃใใใใใใงใฎๅบๅๅฑ้"""
|
165 |
args = sys.argv
|
166 |
+
if len(args) > 1:
|
167 |
print(args[1])
|
168 |
OBJECTIVE = args[1]
|
169 |
+
else:
|
170 |
+
print("not args")
|
171 |
|
172 |
INITIAL_TASK = os.getenv("INITIAL_TASK", os.getenv("FIRST_TASK", ""))
|
173 |
|