Skip to content

Commit

Permalink
fix: lint driven fix
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Feb 6, 2025
1 parent bfd4027 commit e8e752e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dyana/loaders/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def run(self, allow_network: bool = False, allow_gpus: bool = True, allow_volume
volumes,
environment=environment,
allow_network=allow_network,
allow_gpus=allow_gpus and self.settings.gpu,
allow_gpus=allow_gpus and (self.settings.gpu if self.settings else True),
allow_volume_write=allow_volume_write,
)
self.container_id = self.container.id
Expand Down

0 comments on commit e8e752e

Please sign in to comment.