mustafa2ak commited on
Commit
9914bad
·
verified ·
1 Parent(s): 5df2291

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ class DatasetCollectionApp:
36
  """Simplified app for collecting training datasets"""
37
 
38
  def __init__(self):
39
- device = 'cuda' if torch.cuda.is_available() else 'cpu'
40
 
41
  # Restore database before initializing
42
  self._restore_database()
 
36
  """Simplified app for collecting training datasets"""
37
 
38
  def __init__(self):
39
+ self.device = 'cuda' if torch.cuda.is_available() else 'cpu'
40
 
41
  # Restore database before initializing
42
  self._restore_database()