Skip to content

Instantly share code, notes, and snippets.

View Skorkmaz88's full-sized avatar
🎯
Focusing

Semih Korkmaz Skorkmaz88

🎯
Focusing
  • Germany
View GitHub Profile
from flask import Flask, jsonify
import simplejson as json
app = Flask(__name__)
@app.route('/heartbeat', methods=['GET', 'POST'])
def heart_beat():
""" Returns when server is alive """
return json.dumps( {"test": "ML server is alive"})
#!/usr/bin/python
# -*- coding: utf-8 -*-
done = False
highest_episode_reward = 3
lasthundredscores = deque(maxlen=100)
lasthundredscores_history = []