Spaces:
Sleeping
Sleeping
Commit
·
9f931d3
1
Parent(s):
bf61373
Update templates/home.html
Browse files- templates/home.html +1 -1
templates/home.html
CHANGED
@@ -26,7 +26,7 @@
|
|
26 |
$('form').on('submit', function(event) {
|
27 |
$.ajax({
|
28 |
type: 'POST',
|
29 |
-
url: "{{ url_for( '
|
30 |
data: JSON.stringify({'input':text}),
|
31 |
contentType: "application/json",
|
32 |
success:function(response){
|
|
|
26 |
$('form').on('submit', function(event) {
|
27 |
$.ajax({
|
28 |
type: 'POST',
|
29 |
+
url: "{{ url_for( 'classify' ) }}",
|
30 |
data: JSON.stringify({'input':text}),
|
31 |
contentType: "application/json",
|
32 |
success:function(response){
|