Spaces:
Running
Running
Commit
·
68bce6d
1
Parent(s):
c198bfa
fix: submission id too long changed until sec
Browse files- src/submission/submit.py +1 -1
src/submission/submit.py
CHANGED
@@ -29,7 +29,7 @@ def add_new_eval(
|
|
29 |
|
30 |
# Create a unique identifier for the submission
|
31 |
uid = uuid.uuid4().hex[:6]
|
32 |
-
timestamp = datetime.now().
|
33 |
request_filename = f"{library_name.replace('/', '_')}_eval_request_{timestamp}_{uid}.json"
|
34 |
|
35 |
# Stars count and license info from library_info if available
|
|
|
29 |
|
30 |
# Create a unique identifier for the submission
|
31 |
uid = uuid.uuid4().hex[:6]
|
32 |
+
timestamp = datetime.now().strftime("%Y%m%d_%H%M%S")
|
33 |
request_filename = f"{library_name.replace('/', '_')}_eval_request_{timestamp}_{uid}.json"
|
34 |
|
35 |
# Stars count and license info from library_info if available
|