tabedini commited on
Commit
d3d84d0
·
verified ·
1 Parent(s): 7b331d6

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -3
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, license):
229
- if model_name == "" or model_id == "" or license == "" or contact_email == "":
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