<reponame>shreyassks/Text-Similarity-App-GKE<filename>GKE-engine/app/__init__.py
# -*- coding: utf-8 -*-

from flask import Flask
import google.cloud.logging
import logging

client = google.cloud.logging.Client()

client.setup_logging()

app = Flask(__name__)

if app.config["ENV"] == "production":

    app.config.from_object("config.ProductionConfig")
    
else:
    app.config.from_object("config.DevelopmentConfig")
    

print("Environment in use :- ", str(app.config["ENV"]))

from app import main

