# # to run app, cd to app directory and do: # python ./app.py --active-listener --class-weight --residual # import gradio as gr from app import cosmic_view, gpt_view cosmic_model = cosmic_view.cosmic_ui() gpt_model = gpt_view.gpt_ui() demo = gr.TabbedInterface([cosmic_model, gpt_model], ["COSMIC", "GPT Analysis"]) if __name__ == "__main__": demo.launch()