Merge pull request #14 from SergeantPanda/main

Fixes manage commands not working
This commit is contained in:
dekzter 2025-03-04 08:52:53 -05:00 committed by GitHub
commit d1954638f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 5 deletions

View file

@ -24,14 +24,14 @@ schema_view = get_schema_view(
urlpatterns = [
# API Routes
path('api/', include(('apps.api.urls', 'api'), namespace='api')),
path('output/', include('apps.output.urls', namespace='output')),
path('api', RedirectView.as_view(url='/api/', permanent=True)),
# Admin
path('admin', RedirectView.as_view(url='/admin/', permanent=True)), # This fixes the issue
path('admin/', admin.site.urls),
# Outputs
path('output', RedirectView.as_view(url='/output/', permanent=True)), # This fixes the issue
path('output', RedirectView.as_view(url='/output/', permanent=True)),
path('output/', include(('apps.output.urls', 'output'), namespace='output')),
# HDHR

View file

@ -1,2 +0,0 @@
--index-url https://download.pytorch.org/whl/cpu/
torch==2.6.0

View file

@ -1 +0,0 @@
sentence-transformers==3.4.1

View file

@ -16,3 +16,9 @@ django-cors-headers
djangorestframework-simplejwt
m3u8
rapidfuzz==3.12.1
# PyTorch dependencies (CPU only)
--extra-index-url https://download.pytorch.org/whl/cpu/
torch==2.6.0+cpu
# ML/NLP dependencies
sentence-transformers==3.4.1