from django.contrib import admin from django.urls import path, include from .views.GetIPDataView import GetIPDataView from .views.BaiduFanyiView import BaiduFanyiView, AllLangTypeViews, AutoLangTypeViews, RecognizeLangTypeViews, PictureRecognizeViews, SpeechRecognitionView urlpatterns = [ path("getIpData/", GetIPDataView.as_view()), path("baiduFanyi/", BaiduFanyiView.as_view()), path("getAllLangType/", AllLangTypeViews.as_view()), path("getAutoLangType/", AutoLangTypeViews.as_view()), path("recognizeLangType/", RecognizeLangTypeViews.as_view()), path("pictureRecognize/", PictureRecognizeViews.as_view()), path("speechRecognition/", SpeechRecognitionView.as_view()), ]