Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ ranks = [
|
|
| 71 |
|
| 72 |
def preprocess_data(data):
|
| 73 |
# Preprocess the data (replace this with your specific preprocessing steps)
|
| 74 |
-
data = ranks.index(data[0])
|
| 75 |
data[1] = maps.index(data[1])
|
| 76 |
data[2:7] = [agents.index(agent) for agent in data[2:7]]
|
| 77 |
|
|
|
|
| 71 |
|
| 72 |
def preprocess_data(data):
|
| 73 |
# Preprocess the data (replace this with your specific preprocessing steps)
|
| 74 |
+
data[0] = ranks.index(data[0])
|
| 75 |
data[1] = maps.index(data[1])
|
| 76 |
data[2:7] = [agents.index(agent) for agent in data[2:7]]
|
| 77 |
|