# flask for web app.
import flask as fl
# numpy for numerical work.
import numpy as np

# Create a new web app.
app = fl.Flask(__name__)

# Add root route.
@app.route("/")
def home():
  return app.send_static_file('index.html')

# Add uniform route.
@app.route('/api/uniform')
def uniform():
  return {"value": np.random.uniform()}

# Add normal route.
@app.route('/api/normal')
def normal():
  return {"value": np.random.normal()}
6dd57f00311446b95c45ca21f59b51f06e57fdc9
<mask token>


@app.route('/')
def home():
    return app.send_static_file('index.html')


<mask token>


@app.route('/api/normal')
def normal():
    return {'value': np.random.normal()}

<mask token>


@app.route('/')
def home():
    return app.send_static_file('index.html')


@app.route('/api/uniform')
def uniform():
    return {'value': np.random.uniform()}


@app.route('/api/normal')
def normal():
    return {'value': np.random.normal()}

<mask token>
app = fl.Flask(__name__)


@app.route('/')
def home():
    return app.send_static_file('index.html')


@app.route('/api/uniform')
def uniform():
    return {'value': np.random.uniform()}


@app.route('/api/normal')
def normal():
    return {'value': np.random.normal()}

import flask as fl
import numpy as np
app = fl.Flask(__name__)


@app.route('/')
def home():
    return app.send_static_file('index.html')


@app.route('/api/uniform')
def uniform():
    return {'value': np.random.uniform()}


@app.route('/api/normal')
def normal():
    return {'value': np.random.normal()}

# flask for web app.
import flask as fl
# numpy for numerical work.
import numpy as np

# Create a new web app.
app = fl.Flask(__name__)

# Add root route.
@app.route("/")
def home():
  return app.send_static_file('index.html')

# Add uniform route.
@app.route('/api/uniform')
def uniform():
  return {"value": np.random.uniform()}

# Add normal route.
@app.route('/api/normal')
def normal():
  return {"value": np.random.normal()}