Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -70,9 +70,10 @@ def show_f(repo,name,token):
|
|
70 |
|
71 |
else:
|
72 |
|
73 |
-
sf=d_app.split(".",1)[1]
|
74 |
-
pf=d_app.split(".",1)[0]
|
75 |
-
f_name=f'{pf}.{sf}'
|
|
|
76 |
pass
|
77 |
|
78 |
r = requests.get(f'https://huggingface.co/spaces/{repo}/{name}/raw/main/{d_app}')
|
|
|
70 |
|
71 |
else:
|
72 |
|
73 |
+
#sf=d_app.split(".",1)[1]
|
74 |
+
#pf=d_app.split(".",1)[0]
|
75 |
+
#f_name=f'{pf}.{sf}'
|
76 |
+
f_name=f'{d_app}'
|
77 |
pass
|
78 |
|
79 |
r = requests.get(f'https://huggingface.co/spaces/{repo}/{name}/raw/main/{d_app}')
|