Spaces:
Running
Running
Pratyush Maini
commited on
Commit
•
ef4ef3e
1
Parent(s):
06e7a40
upload option
Browse files- uploads.py +3 -1
uploads.py
CHANGED
@@ -42,6 +42,8 @@ def add_new_eval(
|
|
42 |
file_value = path_to_file.value
|
43 |
if file_value is None:
|
44 |
return format_warning("Please attach a file.")
|
|
|
|
|
45 |
|
46 |
# load the file
|
47 |
df = pd.read_csv(file_value)
|
@@ -71,4 +73,4 @@ def add_new_eval(
|
|
71 |
repo_type="space",
|
72 |
)
|
73 |
|
74 |
-
|
|
|
42 |
file_value = path_to_file.value
|
43 |
if file_value is None:
|
44 |
return format_warning("Please attach a file.")
|
45 |
+
|
46 |
+
return format_log(f"Model {model} submitted by {organisation} successfully. \nPlease refresh the leaderboard, and wait a bit to see the score displayed")
|
47 |
|
48 |
# load the file
|
49 |
df = pd.read_csv(file_value)
|
|
|
73 |
repo_type="space",
|
74 |
)
|
75 |
|
76 |
+
|