tlux commited on
Commit
9a4e0ae
·
verified ·
1 Parent(s): 7ef3558

Fix python version check

Browse files

Docstring says Python ≥ 3.12 but code used (3, 15); corrected to match doc and current releases.

Files changed (1) hide show
  1. modeling_drama.py +1 -1
modeling_drama.py CHANGED
@@ -83,7 +83,7 @@ class DramaModelWrapper:
83
  An instance of the appropriate DramaModel implementation.
84
  """
85
  # Check Python version
86
- use_nested = sys.version_info >= (3, 15)
87
  if not use_nested:
88
  warnings.warn(
89
  "Python version < 3.12 detected. Using non-nested implementation."
 
83
  An instance of the appropriate DramaModel implementation.
84
  """
85
  # Check Python version
86
+ use_nested = sys.version_info >= (3, 12)
87
  if not use_nested:
88
  warnings.warn(
89
  "Python version < 3.12 detected. Using non-nested implementation."