Spaces:
Sleeping
Sleeping
Update player.py
Browse files
player.py
CHANGED
|
@@ -104,13 +104,13 @@ def build_space(index_sel, vid_file,t_name):
|
|
| 104 |
if t_description == None or t_description == "":
|
| 105 |
t_description = f'Embedded App'
|
| 106 |
if t_redirect == None or t_redirect =="":
|
| 107 |
-
t_redirect =
|
| 108 |
-
if t_name == None or t_name =="":
|
| 109 |
-
print (t_space)
|
| 110 |
-
t_name = t_space.split("//",1)[1]
|
| 111 |
-
print (t_name)
|
| 112 |
-
t_name = t_name.strip(".hf.space")
|
| 113 |
-
print (f't_name::{t_name}')
|
| 114 |
|
| 115 |
|
| 116 |
model_id=t_name
|
|
|
|
| 104 |
if t_description == None or t_description == "":
|
| 105 |
t_description = f'Embedded App'
|
| 106 |
if t_redirect == None or t_redirect =="":
|
| 107 |
+
t_redirect = "https://jbilcke-hf-ai-tube.hf.space/"
|
| 108 |
+
#if t_name == None or t_name =="":
|
| 109 |
+
#print (t_space)
|
| 110 |
+
#t_name = t_space.split("//",1)[1]
|
| 111 |
+
#print (t_name)
|
| 112 |
+
#t_name = t_name.strip(".hf.space")
|
| 113 |
+
#print (f't_name::{t_name}')
|
| 114 |
|
| 115 |
|
| 116 |
model_id=t_name
|