Omnibus commited on
Commit
21bcef9
1 Parent(s): 5998b3b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -238,8 +238,8 @@ def build_space(t_space,t_title,t_description=None,t_name=None,t_redirect=None,t
238
  if t_redirect == None:
239
  t_redirect = t_space
240
  if t_name == None:
241
- t_name = t_space.split("//",1)[1].split(".",1)[0]
242
-
243
 
244
 
245
  model_id=t_name
 
238
  if t_redirect == None:
239
  t_redirect = t_space
240
  if t_name == None:
241
+ t_name = t_space.split("//",1)[1].split(".hf",1)[0]
242
+ print (t_name)
243
 
244
 
245
  model_id=t_name