Spaces:
Runtime error
Runtime error
Display models before running
Browse files- background_task.py +1 -0
background_task.py
CHANGED
@@ -186,6 +186,7 @@ def match(model1, model2):
|
|
186 |
"""
|
187 |
model1_id = model1.author + "/" + model1.name
|
188 |
model2_id = model2.author + "/" + model2.name
|
|
|
189 |
subprocess.run(["./SoccerTows.x86_64", "-model1", model1_id, "-model2", model2_id, "-nographics", "-batchmode"])
|
190 |
print(f"Match {model1_id} against {model2_id} ended.")
|
191 |
|
|
|
186 |
"""
|
187 |
model1_id = model1.author + "/" + model1.name
|
188 |
model2_id = model2.author + "/" + model2.name
|
189 |
+
print(f"Running {model1_id} against {model2_id}...")
|
190 |
subprocess.run(["./SoccerTows.x86_64", "-model1", model1_id, "-model2", model2_id, "-nographics", "-batchmode"])
|
191 |
print(f"Match {model1_id} against {model2_id} ended.")
|
192 |
|