Skip to content

Commit

Permalink
fix: move save config forward
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Jul 7, 2022
1 parent 5e14473 commit ec3823e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions discoart/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def create(**kwargs) -> 'DocumentArray':
except KeyboardInterrupt:
pass
finally:
print_args_table(vars(_args))
from IPython.display import FileLink, display
_name = _args.name_docarray

Expand Down
2 changes: 0 additions & 2 deletions discoart/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import copy
import random
import warnings
from types import SimpleNamespace
from typing import Dict, Union, Optional

import yaml
Expand Down Expand Up @@ -54,7 +53,6 @@ def load_config(

cfg.update(**{'name_docarray': da_name})


return cfg


Expand Down

0 comments on commit ec3823e

Please sign in to comment.