mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove not needed text
This commit is contained in:
parent
52e7e0b31b
commit
19d67b29e7
@ -39,7 +39,6 @@ from diffusers.models.attention_processor import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
def choose_torch_device() -> str:
|
def choose_torch_device() -> str:
|
||||||
# Your device selection logic here
|
|
||||||
device = "cuda" if torch.cuda.is_available() else "cpu"
|
device = "cuda" if torch.cuda.is_available() else "cpu"
|
||||||
return device
|
return device
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user