Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -233,11 +233,11 @@ def make_files(t_space,t_title,t_description=None,t_name=None,t_redirect=None,t_
|
|
233 |
|
234 |
def build_space(t_space,t_title,t_description=None,t_name=None,t_redirect=None,t_image=None,t_image_url=None,token=None):
|
235 |
|
236 |
-
if t_description == None:
|
237 |
t_description = f'Embedded App'
|
238 |
-
if t_redirect == None:
|
239 |
t_redirect = t_space
|
240 |
-
if t_name == None:
|
241 |
print (t_space)
|
242 |
t_name = t_space.split("//",1)[1]
|
243 |
print (t_name)
|
|
|
233 |
|
234 |
def build_space(t_space,t_title,t_description=None,t_name=None,t_redirect=None,t_image=None,t_image_url=None,token=None):
|
235 |
|
236 |
+
if t_description == None or t_description == "":
|
237 |
t_description = f'Embedded App'
|
238 |
+
if t_redirect == None or t_redirect =="":
|
239 |
t_redirect = t_space
|
240 |
+
if t_name == None or t_name =="":
|
241 |
print (t_space)
|
242 |
t_name = t_space.split("//",1)[1]
|
243 |
print (t_name)
|