Modify Api.dart file.

parent 6a4776d4
......@@ -222,5 +222,8 @@ def pronounce_validation():
return jsonify({'status': 'error'}), 400
# if __name__ == '__main__':
# app.run(debug=True)
if __name__ == '__main__':
app.run(debug=True)
app.run(host='0.0.0.0', port=5000, debug=True)
......@@ -7,3 +7,11 @@ String Comp1Api = 'http://10.0.2.2:5000/abnomility-sentiment';
String Comp2Api = 'http://10.0.2.2:5000/pronounce-validation';
String Comp3Api = 'http://10.0.2.2:5000/answer-evaluation';
// String ip = 'http://192.168.8.156:5000';
// String Comp1Api = 'http://192.168.8.156:5000/abnomility-sentiment';
// String Comp2Api = 'http://192.168.8.156:5000/pronounce-validation';
// String Comp3Api = 'http://192.168.8.156:5000/answer-evaluation';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment