Spaces:
Build error
Build error
omerXfaruq
commited on
Commit
•
0437553
1
Parent(s):
541692f
Refactoring
Browse files
app.py
CHANGED
@@ -185,10 +185,10 @@ class SpaceBuilder:
|
|
185 |
:return:
|
186 |
"""
|
187 |
if (
|
188 |
-
space_names == ""
|
189 |
-
or hf_token == ""
|
190 |
-
or target_space_name == ""
|
191 |
-
or space_description == ""
|
192 |
):
|
193 |
return "Please fill all the inputs"
|
194 |
if SpaceBuilder.check_space_name_availability(
|
|
|
185 |
:return:
|
186 |
"""
|
187 |
if (
|
188 |
+
space_names == "" or space_names.isspace()
|
189 |
+
or hf_token == "" or hf_token.isspace()
|
190 |
+
or target_space_name == "" or target_space_name.isspace()
|
191 |
+
or space_description == "" or space_description.isspace()
|
192 |
):
|
193 |
return "Please fill all the inputs"
|
194 |
if SpaceBuilder.check_space_name_availability(
|