Update utils.py
Browse files
utils.py
CHANGED
|
@@ -225,8 +225,8 @@ def apply_markdown_format_for_columns(df, model_column_name):
|
|
| 225 |
return df
|
| 226 |
|
| 227 |
|
| 228 |
-
def submit(model_name, model_id, contact_email
|
| 229 |
-
if model_name == "" or model_id == "" or
|
| 230 |
gr.Info("Please fill all the fields")
|
| 231 |
return
|
| 232 |
|
|
@@ -241,7 +241,6 @@ def submit(model_name, model_id, contact_email, license):
|
|
| 241 |
"model_name": model_name,
|
| 242 |
"model_id": model_id,
|
| 243 |
"contact_email": contact_email,
|
| 244 |
-
"license": license
|
| 245 |
}
|
| 246 |
|
| 247 |
# Get the current timestamp to add to the filename
|
|
|
|
| 225 |
return df
|
| 226 |
|
| 227 |
|
| 228 |
+
def submit(model_name, model_id, contact_email):
|
| 229 |
+
if model_name == "" or model_id == "" or contact_email == "":
|
| 230 |
gr.Info("Please fill all the fields")
|
| 231 |
return
|
| 232 |
|
|
|
|
| 241 |
"model_name": model_name,
|
| 242 |
"model_id": model_id,
|
| 243 |
"contact_email": contact_email,
|
|
|
|
| 244 |
}
|
| 245 |
|
| 246 |
# Get the current timestamp to add to the filename
|