Spaces:
Runtime error
Runtime error
Format submission names
Browse files
app.py
CHANGED
@@ -58,6 +58,8 @@ def format_submissions(submissions):
|
|
58 |
# TODO(lewtun): make this less hacky!
|
59 |
if "_XXX_" in submission_name:
|
60 |
submission_name = submission_name.replace("_XXX_", " ")
|
|
|
|
|
61 |
submission_data["Submission Name"].append(submission_name)
|
62 |
# Handle mismatch in epoch microseconds vs epoch seconds in new AutoTrain API
|
63 |
if len(timestamp) > 10:
|
|
|
58 |
# TODO(lewtun): make this less hacky!
|
59 |
if "_XXX_" in submission_name:
|
60 |
submission_name = submission_name.replace("_XXX_", " ")
|
61 |
+
if "_DDD_" in submission_name:
|
62 |
+
submission_name = submission_name.replace("_DDD_", "--")
|
63 |
submission_data["Submission Name"].append(submission_name)
|
64 |
# Handle mismatch in epoch microseconds vs epoch seconds in new AutoTrain API
|
65 |
if len(timestamp) > 10:
|