Spaces:
Runtime error
Runtime error
Update hf_demo/einstein/views.py
Browse files
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
|
| 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):
|