Skip to content

Commit

Permalink
Remove import from torch in export.py (#600)
Browse files Browse the repository at this point in the history
This PR removes a spurious import from torch, which crashes if torch is not installed.
  • Loading branch information
dsblank authored Jan 6, 2025
1 parent f0e28b3 commit e52da84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion gramps_webapi/api/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
)
from gramps.gen.user import User
from gramps.gen.utils.resourcepath import ResourcePath
from torch import Value

from ..const import DISABLED_EXPORTERS
from .util import UserTaskProgress, abort_with_message, get_locale_for_language
Expand Down

0 comments on commit e52da84

Please sign in to comment.