Commit 41f9e0d6 authored by Orhan ERMIS's avatar Orhan ERMIS
Browse files

Remove redundant prints

parent 194e456f
......@@ -166,10 +166,9 @@ def classify():
# # os.system("nohup curl --insecure https://f2aa71.papaya.eu-de.containers.appdomain.cloud/classify/"+ str(line_counter)+"/ &")
print (server_ip, flush=True)
#sleeptime.sleep(1)
print ('cd 2pc_model_quantized_batches/ && ./client -a ' + str(server_ip) + ' -p ' + server_port + ' -i ' + str(line_counter))
os.system('cd 2pc_model_quantized_batches/ && ./client -a ' + str(server_ip) + ' -p ' + server_port + ' -i ' + str(line_counter) + ' >> ../result_' + execution_time + '.txt')
os.system("cd 2pc_model_quantized_batches/ && ./client -a " + str(server_ip) + " -p " + server_port + " -i " + str(line_counter) + " >> ../result_" + execution_time + ".txt")
#sleeptime.sleep(5)
counter = 0
......
Flask>=1.0.0scikit-learn
Flask>=1.0.0
requests==2.22.0
numpy
\ No newline at end of file
......@@ -65,18 +65,6 @@ int main(int argc, char** argv) {
string circuit = "none.aby";
e_mt_gen_alg mt_alg = MT_OT;
#ifdef PCA
cout << "PCA is enabled" << endl;
#else
cout << "PCA is disabled" << endl;
#endif
#ifdef V1
cout << "Using V1" << endl;
#else
cout << "Using V2" << endl;
#endif
vector<vector<double>> weight[2];
......
......@@ -13,7 +13,6 @@ app = Flask(__name__)
@app.route('/classify/<noofsignals>/', methods=['GET', 'POST'])
def classify(noofsignals):
print ("test")
print ('cd 2pc_model_quantized_batches/ && ./server -a ' + HOST + ' -p '+str(TCP_PORT)+ ' -i ' + noofsignals)
# For local tests
#os.system('cd 2pc_model_quantized_batches/ && ./server -a 172.17.0.2 -p '+str(TCP_PORT)+ ' -i ' + noofsignals)
......
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