Pedro Cuenca commited on
Commit
64d99b2
1 Parent(s): 9f522b8

Fix import order to make isort happy.

Browse files
Files changed (1) hide show
  1. src/dalle_mini/model/modeling.py +2 -1
src/dalle_mini/model/modeling.py CHANGED
@@ -15,9 +15,9 @@
15
  """ DalleBart model. """
16
 
17
  import math
 
18
  from functools import partial
19
  from typing import Optional, Tuple
20
- import os
21
 
22
  import flax.linen as nn
23
  import jax
@@ -45,6 +45,7 @@ from transformers.models.bart.modeling_flax_bart import (
45
  FlaxBartPreTrainedModel,
46
  )
47
  from transformers.utils import logging
 
48
  import wandb
49
 
50
  from .configuration import DalleBartConfig
 
15
  """ DalleBart model. """
16
 
17
  import math
18
+ import os
19
  from functools import partial
20
  from typing import Optional, Tuple
 
21
 
22
  import flax.linen as nn
23
  import jax
 
45
  FlaxBartPreTrainedModel,
46
  )
47
  from transformers.utils import logging
48
+
49
  import wandb
50
 
51
  from .configuration import DalleBartConfig