File size: 355 Bytes
a446b0b
 
 
 
 
 
df89157
a446b0b
 
df89157
2958d01
a446b0b
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# 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"])

if __name__ == "__main__":
    demo.launch()