Skip to content

Conversation

@lstein
Copy link
Collaborator

@lstein lstein commented Jul 20, 2023

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • [X ] Bug Fix
  • Optimization
  • Documentation Update

Have you discussed this change with the InvokeAI team?

  • [ X] Yes
  • No, because:

Description

This fixes the crash that occurs when fetching the configuration information of checkpoint models from a web server started by clicking on the launcher in Windows.

ValueError: 'C:\\Users\\foo\\Documents\\invokeai\\configs\\stable-diffusion\\v1-finetune.yaml' is not in the subpath of '' OR one path is relative and the other is absolute.

Very interesting edge case. Easy fix.

@blessedcoolant blessedcoolant merged commit f2515d9 into main Jul 20, 2023
@blessedcoolant blessedcoolant deleted the fix/subpath-crash branch July 20, 2023 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants