ShynBui commited on
Commit
52abc92
1 Parent(s): 77542e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def get_dataloader(start, end, batch_size=8):
34
  subset = torch.utils.data.Subset(global_data, range(start, end))
35
  return DataLoader(subset, batch_size=batch_size)
36
 
37
- @spaces.GPU(duration=60)
38
  def train_batch(dataloader):
39
  model.train()
40
  start_time = time.time()
 
34
  subset = torch.utils.data.Subset(global_data, range(start, end))
35
  return DataLoader(subset, batch_size=batch_size)
36
 
37
+ @spaces.GPU(duration=20)
38
  def train_batch(dataloader):
39
  model.train()
40
  start_time = time.time()