Spaces:
Running
Running
pratyushmaini
commited on
Update uploads.py
Browse files- uploads.py +1 -1
uploads.py
CHANGED
@@ -25,7 +25,7 @@ def model_hyperlink(link, model_name):
|
|
25 |
|
26 |
def input_verification(model, model_family, forget_rate, url, path_to_file, organisation, mail):
|
27 |
for input in [model, model_family, forget_rate, url, organisation]:
|
28 |
-
if input
|
29 |
return format_warning("Please fill all the fields.")
|
30 |
|
31 |
# Very basic email parsing
|
|
|
25 |
|
26 |
def input_verification(model, model_family, forget_rate, url, path_to_file, organisation, mail):
|
27 |
for input in [model, model_family, forget_rate, url, organisation]:
|
28 |
+
if input == "":
|
29 |
return format_warning("Please fill all the fields.")
|
30 |
|
31 |
# Very basic email parsing
|