Skip to content

Instantly share code, notes, and snippets.

@ashhadulislam
Created February 12, 2022 12:57
Show Gist options
  • Save ashhadulislam/73431a7d7d0a797b4030dec113836d9d to your computer and use it in GitHub Desktop.
Save ashhadulislam/73431a7d7d0a797b4030dec113836d9d to your computer and use it in GitHub Desktop.
import os
import streamlit as st
import numpy as np
from PIL import Image
# Custom imports
from multipage import MultiPage
from pages import disasterAnalysis
# Create an instance of the app
app = MultiPage()
# Title of the main page
display = Image.open('cover.jpg')
display = np.array(display)
st.image(display)
st.title("Satellite Image based Disaster Analysis")
st.text("Disaster Affected Or Not: To detect if an area has been hit by a disaster")
# Add all your application here
app.add_page("Disaster Affected Or Not", disasterAnalysis.app)
# The main app
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment