yeq6x commited on
Commit
247ffab
·
1 Parent(s): ff3dcda
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -25,7 +25,6 @@ models_info = [{"name": "ae_model_tf_2024-03-05_00-35-21.pth", "feature_dim": 32
25
  {"name": "autoencoder-epoch=49-train_loss=1.01.ckpt", "feature_dim": 64}]
26
  models = []
27
 
28
- @spaces.GPU
29
  def load_model(model_path, feature_dim):
30
  model = AutoencoderModule(feature_dim=feature_dim)
31
  state_dict = torch.load(model_path)
 
25
  {"name": "autoencoder-epoch=49-train_loss=1.01.ckpt", "feature_dim": 64}]
26
  models = []
27
 
 
28
  def load_model(model_path, feature_dim):
29
  model = AutoencoderModule(feature_dim=feature_dim)
30
  state_dict = torch.load(model_path)