tohid.abedini
commited on
Commit
·
891ffae
1
Parent(s):
3cd6451
[Add] about
Browse files
utils.py
CHANGED
@@ -204,13 +204,10 @@ def apply_clickable_model(df, column_name):
|
|
204 |
|
205 |
|
206 |
def submit(model_name, model_id, contact_email, section, license):
|
207 |
-
if model_name == "" or model_id == "" or section == "" or license == "":
|
208 |
-
gr.
|
209 |
return
|
210 |
|
211 |
-
if contact_email == "":
|
212 |
-
gr.Error("Contact email is required")
|
213 |
-
return
|
214 |
|
215 |
try:
|
216 |
user_name = ""
|
|
|
204 |
|
205 |
|
206 |
def submit(model_name, model_id, contact_email, section, license):
|
207 |
+
if model_name == "" or model_id == "" or section == "" or license == "" or contact_email == "":
|
208 |
+
gr.Info("Please fill all the fields")
|
209 |
return
|
210 |
|
|
|
|
|
|
|
211 |
|
212 |
try:
|
213 |
user_name = ""
|