Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ def add_new_eval(
|
|
| 30 |
):
|
| 31 |
if input_file is None:
|
| 32 |
return "Error! Empty file!"
|
| 33 |
-
if model_link == '' or
|
| 34 |
return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)
|
| 35 |
# upload_data=json.loads(input_file)
|
| 36 |
upload_content = input_file
|
|
|
|
| 30 |
):
|
| 31 |
if input_file is None:
|
| 32 |
return "Error! Empty file!"
|
| 33 |
+
if model_link == '' or model_name_textbox == '' or contact_email == '':
|
| 34 |
return gr.update(visible=True), gr.update(visible=False), gr.update(visible=True)
|
| 35 |
# upload_data=json.loads(input_file)
|
| 36 |
upload_content = input_file
|