aamirtaymoor commited on
Commit
6873a35
·
verified ·
1 Parent(s): a8fc3d4

Update hf_demo/einstein/views.py

Browse files
Files changed (1) hide show
  1. hf_demo/einstein/views.py +1 -4
hf_demo/einstein/views.py CHANGED
@@ -13,10 +13,7 @@ from einstein.ml_service import MlProcessing
13
 
14
  class TestView(APIView):
15
  def get(self, request):
16
- return Response({"message":"Test successsfull"})
17
-
18
- def post(self, request):
19
- return Response({"hello":"world"})
20
 
21
  class FileProcessingView(APIView):
22
  def post(self, request):
 
13
 
14
  class TestView(APIView):
15
  def get(self, request):
16
+ return render(request, 'einstein/index.html')
 
 
 
17
 
18
  class FileProcessingView(APIView):
19
  def post(self, request):