Loading app.py +1 −2 Original line number Diff line number Diff line Loading @@ -174,5 +174,4 @@ def result(): if __name__ == '__main__': # Bind to PORT if defined, otherwise default to 5000. port = int(os.environ.get('PORT', 5000)) app.debug=True app.run(host='0.0.0.0', port=port, debug=True) app.run(host='0.0.0.0', port=port) templates/index.html +0 −1 Original line number Diff line number Diff line Loading @@ -154,7 +154,6 @@ <div class="form-actions"> <button class="btn btn-primary" ng-click="request()">Submit</button> <button class="btn" ng-click="reset()">Reset</button> <span>{{state}}</span> </div> </fieldset> </form> Loading Loading
app.py +1 −2 Original line number Diff line number Diff line Loading @@ -174,5 +174,4 @@ def result(): if __name__ == '__main__': # Bind to PORT if defined, otherwise default to 5000. port = int(os.environ.get('PORT', 5000)) app.debug=True app.run(host='0.0.0.0', port=port, debug=True) app.run(host='0.0.0.0', port=port)
templates/index.html +0 −1 Original line number Diff line number Diff line Loading @@ -154,7 +154,6 @@ <div class="form-actions"> <button class="btn btn-primary" ng-click="request()">Submit</button> <button class="btn" ng-click="reset()">Reset</button> <span>{{state}}</span> </div> </fieldset> </form> Loading