File tree Expand file tree Collapse file tree
DataScience/BangloreHomePrices/client
DataStructures/3_LinkedList Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ function onClickedEstimatePrice() {
2626 var location = document . getElementById ( "uiLocations" ) ;
2727 var estPrice = document . getElementById ( "uiEstimatedPrice" ) ;
2828
29- // var url = "http://127.0.0.1:5000/predict_home_price"; Use this if you are NOT using nginx which is first 7 tutorials
29+ // var url = "http://127.0.0.1:5000/predict_home_price"; // Use this if you are NOT using nginx which is first 7 tutorials
3030 var url = "/api/predict_home_price" ; // Use this if you are using nginx. i.e tutorial 8 and onwards
3131
3232 $ . post ( url , {
@@ -59,4 +59,4 @@ function onPageLoad() {
5959 } ) ;
6060}
6161
62- window . onload = onPageLoad ;
62+ window . onload = onPageLoad ;
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def print(self):
1414 itr = self .head
1515 llstr = ''
1616 while itr :
17- llstr += str (itr .data ) + ' --> '
17+ llstr += str (itr .data )+ ' --> ' if itr . next else str ( itr . data )
1818 itr = itr .next
1919 print (llstr )
2020
You can’t perform that action at this time.
0 commit comments