OVH
commited on
Commit
·
64ba780
1
Parent(s):
c1e568b
changed some files
Browse files
app.py
CHANGED
@@ -131,7 +131,7 @@ def predict():
|
|
131 |
# Extract train, test, and test_size with defaults
|
132 |
train = data.get('train', False)
|
133 |
test = data.get('test', False)
|
134 |
-
test_size = float(data.get('
|
135 |
|
136 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
137 |
|
|
|
131 |
# Extract train, test, and test_size with defaults
|
132 |
train = data.get('train', False)
|
133 |
test = data.get('test', False)
|
134 |
+
test_size = float(data.get('train_size', 0.1))
|
135 |
|
136 |
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
|
137 |
|