Spaces:
Sleeping
Sleeping
Download core/urls.py from izaheeerr/transcriber: direct link, hf CLI and curl.
- Browser
- Download file 500 Bytes
-
https://huggingface.co/spaces/izaheeerr/transcriber/resolve/main/core/urls.py
- Command line
-
hf download hf://spaces/izaheeerr/transcriber/core/urls.py
-
curl -L -o urls.py https://huggingface.co/spaces/izaheeerr/transcriber/resolve/main/core/urls.py
500 Bytes
| from django.contrib import admin | |
| from django.urls import path, include | |
| from django.conf import settings | |
| # Update this specific line below: | |
| from django.conf.urls.static import static | |
| urlpatterns = [ | |
| path('admin/', admin.site.urls), # Note: corrected to .urls | |
| path('', include('transcriber.urls')), | |
| ] | |
| # This allows Django to serve files from the media folder during development | |
| if settings.DEBUG: | |
| urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |