Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import warnings | |
warnings.simplefilter(action='ignore', category=FutureWarning) | |
import tensorflow as tf | |
import numpy as np | |
import streamlit as st | |
from PIL import Image | |
import requests | |
from io import BytesIO |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "project_id" { | |
description = "MLOps-Terraform Project" | |
type = string | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project_id = "mlops2022" | |
subnet_region = "us-west1" | |
zone = "us-west1-a" | |
name_prefix = "terraform" | |
machine_type = "n1-standard-8" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRC_REPO=https://github.com/esenthil2018/Terraform-GCP.git | |
LOCAL_DIR=terraform_prov | |
kpt pkg get $SRC_REPO/provision@main $LOCAL_DIR | |
cd $LOCAL_DIR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_version = ">= 0.14" | |
required_providers { | |
google = "~> 3.6" | |
} | |
} | |
provider "google" { | |
project = var.project_id | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "project_id" { | |
description = "MLOps-Terraform Project" | |
type = string | |
} | |
variable "region" { | |
description = "The region for the GCS bucket" | |
type = string | |
default = null | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project_id = "mlops2022" | |
subnet_region = "us-west1" | |
zone = "us-west1-a" | |
name_prefix = "mlops2022tf" | |
machine_type = "n1-standard-8" |