Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|