<commit_before>from flask import Flask
from flask import request
app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello World!"

@app.route('/upload', methods=['GET', 'POST'])
def upload_file():
    if request.method == 'POST':
        f = request.files['file']
        f.save('./uploads/'+f.filename)
    return '',201
if __name__ == "__main__":
    app.run(host="0.0.0.0", debug=True)<commit_msg>version2<commit_after>from flask import Flask
from flask import request
app = Flask(__name__)

@app.route("/")
def hello():
    return "Hello World!"
  
@app.route("/euler1")
def euler1():
  Totsum = 0
   for i in range (1000):
     if i%3 == 0 :
       Totsum +=i;
     elif i % 5 == 0:
       Totsum += i;
       print(Totsum)

@app.route("/euler2")
def euler2():
f1 = 1
f2 = 2
temp = 0
total = 0
while temp <=4000000:
  temp = f2
  if temp % 2 == 0:
    total = total + temp
    print (total)
    temp = f1 + f2
    f1 = f2
    f2 = temp

@app.route('/upload', methods=['GET', 'POST'])
def upload_file():
    if request.method == 'POST':
        f = request.files['file']
        f.save('./uploads/'+f.filename)
    return '',201
if __name__ == "__main__":
    app.run(host="0.0.0.0", debug=True)
{'fraction_non_alphanumeric': 0.17986798679867988, 'fraction_numerical': 0.040429042904290426, 'mean_word_length': 2.8630573248407645, 'pattern_counts': {'":': 2, '<': 4, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6626946', 'n_tokens_mistral': 472, 'n_tokens_neox': 442, 'n_words': 121}