BryanW commited on
Commit
55950a3
·
verified ·
1 Parent(s): a9f1a7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -14,6 +14,7 @@ import spaces
14
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
15
  dtype = torch.bfloat16
16
 
 
17
  def load_models(model_path="MeissonFlow/Meissonic",
18
  transformer_path="MeissonFlow/Muddit"):
19
  model = SymmetricTransformer2DModel.from_pretrained(
 
14
  device = 'cuda' if torch.cuda.is_available() else 'cpu'
15
  dtype = torch.bfloat16
16
 
17
+ @spaces.GPU
18
  def load_models(model_path="MeissonFlow/Meissonic",
19
  transformer_path="MeissonFlow/Muddit"):
20
  model = SymmetricTransformer2DModel.from_pretrained(