mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
pep8
This commit is contained in:
@@ -41,6 +41,7 @@ def serve(
|
||||
)
|
||||
try:
|
||||
import torch
|
||||
|
||||
assert torch.cuda.is_available(), "CUDA not available"
|
||||
typer.echo("CUDA seems to be working")
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user