woletee commited on
Commit
729a903
·
1 Parent(s): fa5a9b6

there was some time error before I think it was because of the port thing

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. templates/results.html +0 -1
app.py CHANGED
@@ -74,6 +74,6 @@ def upload():
74
  test_pairs=test_pairs,
75
  predicted_test_outputs=predicted_test_outputs,
76
  best_program=str(best_program))
77
-
78
  if __name__ == '__main__':
79
- app.run(debug=True)
 
74
  test_pairs=test_pairs,
75
  predicted_test_outputs=predicted_test_outputs,
76
  best_program=str(best_program))
77
+ print ("server is working ")
78
  if __name__ == '__main__':
79
+ app.run(host='0.0.0.0', port=7860)
templates/results.html CHANGED
@@ -143,7 +143,6 @@
143
  pairsContainer.appendChild(container);
144
  });
145
 
146
- // TEST PAIRS AND PREDICTIONS
147
  const testContainer = document.getElementById("test-pairs-container");
148
 
149
  testPairs.forEach((pair, index) => {
 
143
  pairsContainer.appendChild(container);
144
  });
145
 
 
146
  const testContainer = document.getElementById("test-pairs-container");
147
 
148
  testPairs.forEach((pair, index) => {