Spaces:
Runtime error
Runtime error
Commit
·
4a368e8
1
Parent(s):
a9dfd5a
Debug
Browse files
app.py
CHANGED
@@ -46,7 +46,9 @@ def fetch(url_or_path):
|
|
46 |
return open(url_or_path, 'rb')
|
47 |
|
48 |
def fetch_model(url_or_path,network_name):
|
|
|
49 |
torch.hub.download_url_to_file(f'{url_or_path}',f'{network_name}')
|
|
|
50 |
|
51 |
def slugify(value, allow_unicode=False):
|
52 |
"""
|
|
|
46 |
return open(url_or_path, 'rb')
|
47 |
|
48 |
def fetch_model(url_or_path,network_name):
|
49 |
+
print(network_name)
|
50 |
torch.hub.download_url_to_file(f'{url_or_path}',f'{network_name}')
|
51 |
+
print(os.listdir())
|
52 |
|
53 |
def slugify(value, allow_unicode=False):
|
54 |
"""
|