Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

FileNotFoundError: [Errno 2] No such file or directory: '/content/cagliostro-colab-ui/config.json' #58

Open
muhammadzaid20 opened this issue Jul 20, 2023 · 1 comment

Comments

@muhammadzaid20
Copy link

FileNotFoundError Traceback (most recent call last)
in <cell line: 310>()
308 print_line(80, color="green")
309
--> 310 main()

2 frames
in main()
245 prepare_environment()
246
--> 247 configure_output_path(config_file, output_dir, output_subdir)
248
249 print_line(80, color="green")

in configure_output_path(config_path, output_dir, output_subdir)
194
195 def configure_output_path(config_path, output_dir, output_subdir):
--> 196 config = config_utils.read_config(config_path)
197 config_updates = {
198 "outdir_txt2img_samples" : os.path.join(output_dir, output_subdir[0]),

/usr/local/lib/python3.10/dist-packages/colablib/utils/config_utils.py in read_config(filename)
36
37 if file_format == "json":
---> 38 with open(filename, "r") as f:
39 config = json.load(f)
40 elif file_format == "yaml" or file_format == "yml":

FileNotFoundError: [Errno 2] No such file or directory: '/content/cagliostro-colab-ui/config.json'

@Linaqruf
Copy link
Owner

Linaqruf commented Jul 23, 2023

I fixed this problem 3 days ago, if you still encounter this problem I assume you're using copy of the notebook. Please update your copy or use the original one

bfb0db4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants