import gradio as gr from modules.views import file, data, email with gr.Blocks( title="Solar Report", css="footer {visibility: hidden}", theme=gr.themes.Soft(), analytics_enabled=False, ) as demo: gr.Markdown("# Solar Report") with gr.Tab("Inspect"): current_file = file() with gr.Tab("Process"): process_output = data(current_file) with gr.Tab("Send"): email(process_output) demo.launch(server_name="0.0.0.0", server_port=7860)