Spaces:
Running
Running
Pratyush Maini
commited on
Commit
·
e9c0aea
1
Parent(s):
ef4ef3e
upload option
Browse files- uploads.py +2 -1
uploads.py
CHANGED
@@ -39,11 +39,12 @@ def add_new_eval(
|
|
39 |
if not "@" in parsed_mail:
|
40 |
return format_warning("Please provide a valid email adress.")
|
41 |
|
|
|
42 |
file_value = path_to_file.value
|
43 |
if file_value is None:
|
44 |
return format_warning("Please attach a file.")
|
45 |
|
46 |
-
|
47 |
|
48 |
# load the file
|
49 |
df = pd.read_csv(file_value)
|
|
|
39 |
if not "@" in parsed_mail:
|
40 |
return format_warning("Please provide a valid email adress.")
|
41 |
|
42 |
+
return format_log(f"Model {model} submitted by {organisation} successfully. \nPlease refresh the leaderboard, and wait a bit to see the score displayed")
|
43 |
file_value = path_to_file.value
|
44 |
if file_value is None:
|
45 |
return format_warning("Please attach a file.")
|
46 |
|
47 |
+
|
48 |
|
49 |
# load the file
|
50 |
df = pd.read_csv(file_value)
|