Spaces:
Runtime error
Runtime error
Check no batchmode
Browse files- background_task.py +1 -1
background_task.py
CHANGED
@@ -161,7 +161,7 @@ def match(model1, model2):
|
|
161 |
"""
|
162 |
model1_id = model1.author + "/" + model1.name
|
163 |
model2_id = model2.author + "/" + model2.name
|
164 |
-
subprocess.run(["./SoccerTows.x86_64", "-model1", model1_id, "-model2", model2_id, "-nographics"
|
165 |
print(f"Match {model1_id} against {model2_id} ended.")
|
166 |
model1.games_played += 1
|
167 |
model2.games_played += 1
|
|
|
161 |
"""
|
162 |
model1_id = model1.author + "/" + model1.name
|
163 |
model2_id = model2.author + "/" + model2.name
|
164 |
+
subprocess.run(["./SoccerTows.x86_64", "-model1", model1_id, "-model2", model2_id, "-nographics"])
|
165 |
print(f"Match {model1_id} against {model2_id} ended.")
|
166 |
model1.games_played += 1
|
167 |
model2.games_played += 1
|