Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -260,7 +260,7 @@ def gradio_app():
|
|
260 |
ignore_ties = 1 in checkbox_options
|
261 |
print(f"Processing file: {replay_file}")
|
262 |
replay_stem = os.path.splitext(os.path.basename(replay_file))[0]
|
263 |
-
preds_file = os.path.join(temp_dir, f"predictions_{replay_stem}_{
|
264 |
if os.path.exists(preds_file):
|
265 |
print(f"Predictions file already exists: {preds_file}")
|
266 |
preds = pd.read_csv(preds_file)
|
|
|
260 |
ignore_ties = 1 in checkbox_options
|
261 |
print(f"Processing file: {replay_file}")
|
262 |
replay_stem = os.path.splitext(os.path.basename(replay_file))[0]
|
263 |
+
preds_file = os.path.join(temp_dir, f"predictions_{replay_stem}_{nullify_goal_difference=}_{ignore_ties=}.csv")
|
264 |
if os.path.exists(preds_file):
|
265 |
print(f"Predictions file already exists: {preds_file}")
|
266 |
preds = pd.read_csv(preds_file)
|