Spaces:
Sleeping
Sleeping
Download translations/urls.py from FerdinandPyCode/lambda_hf_v2: direct link, hf CLI and curl.
- Browser
- Download file 629 Bytes
-
https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/main/translations/urls.py
- Command line
-
hf download hf://spaces/FerdinandPyCode/lambda_hf_v2/translations/urls.py
-
curl -L -o urls.py https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/main/translations/urls.py
629 Bytes
| from django.urls import path, include | |
| from rest_framework.routers import DefaultRouter | |
| from .views import AudioToText, FongbeToFrancaisText | |
| urlpatterns = [ | |
| # path('', include(router.urls)), | |
| # path('UserTranslations/', TranslationListViewSet.as_view(), name="translations"), | |
| # path('TextToDeafSign/', TextToDeafSignViewSet.as_view(), name="text_to_deaf_sign"), | |
| # path('AudioToDeafSign/', AudioToDeafSignViewSet.as_view(), name="audio_to_deaf_sign"), | |
| path('translateTexte/', FongbeToFrancaisText.as_view(), name="fongbe_to_french_text"), | |
| path('AudioToText/', AudioToText.as_view(), name="audio_to_text") | |
| ] |