|
import streamlit as st |
|
from loading_file import load_data_file |
|
from dataframe import prepare_dataframe |
|
from search import search_application |
|
|
|
|
|
st.title("Visa Application Status Checker") |
|
|
|
|
|
st.subheader("Step 1: Loading the Data") |
|
data_file, file_name = load_data_file() |
|
|
|
if data_file: |
|
st.success(f"File '{file_name}' loaded successfully!") |
|
|
|
|
|
st.subheader("Step 2: Preparing the DataFrame") |
|
df = prepare_dataframe(data_file) |
|
|
|
if df is not None: |
|
st.success("DataFrame is ready for searching!") |
|
|
|
|
|
st.subheader("Step 3: Search Application Status") |
|
search_application(df) |
|
else: |
|
st.error("Error preparing the DataFrame.") |
|
else: |
|
st.error("No file data available.") |
|
|