aamirtaymoor commited on
Commit
7c30a80
·
verified ·
1 Parent(s): 50ac90d

Update hf_demo/einstein/views.py

Browse files
Files changed (1) hide show
  1. hf_demo/einstein/views.py +4 -0
hf_demo/einstein/views.py CHANGED
@@ -11,6 +11,10 @@ from rest_framework.response import Response
11
 
12
  from einstein.ml_service import MlProcessing
13
 
 
 
 
 
14
  class FileProcessingView(APIView):
15
  def post(self, request):
16
  file = request.data.get('file')
 
11
 
12
  from einstein.ml_service import MlProcessing
13
 
14
+ class TestView(APIView):
15
+ def get(self, request):
16
+ return Response({"message":"Test successsfull"})
17
+
18
  class FileProcessingView(APIView):
19
  def post(self, request):
20
  file = request.data.get('file')