Spaces:
Sleeping
Sleeping
Andrei Cozma commited on
Commit ·
6bb60fd
1
Parent(s): ec8233c
Updates
Browse files
utils.py
CHANGED
|
@@ -33,7 +33,7 @@ def load_agent(agent_key, **kwargs):
|
|
| 33 |
)
|
| 34 |
# Overwrite any conflicting arguments with those from the file name
|
| 35 |
parsed_args["env"] = env_key
|
| 36 |
-
kwargs
|
| 37 |
print("agent_args:", kwargs)
|
| 38 |
except IndexError as e:
|
| 39 |
raise ValueError(
|
|
|
|
| 33 |
)
|
| 34 |
# Overwrite any conflicting arguments with those from the file name
|
| 35 |
parsed_args["env"] = env_key
|
| 36 |
+
kwargs.update(parsed_args)
|
| 37 |
print("agent_args:", kwargs)
|
| 38 |
except IndexError as e:
|
| 39 |
raise ValueError(
|