File size: 668 Bytes
fda84e9
43de500
4dd128d
43de500
92454f1
8f97e9b
4b4f1f6
43de500
8f97e9b
858a4f7
 
43de500
8f97e9b
ec7fc57
4b4f1f6
 
004db8a
 
8f97e9b
 
 
 
92454f1
 
 
 
43de500
fa19d1d
4b4f1f6
43de500
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import gradio as gr

from cloud_db import *
from supplier import *
from utility import *
from features import init_app_data
from application import *

from ui_summary import *


examples = []
# app_theme = gr.themes.Base(neutral_hue="blue")

def create_demo():
    return gr.TabbedInterface(
    [summary_page(),articles_page(),preference_page()], 
    ["Summary","Articles","User Preferences"],
    theme = gr.themes.Soft(primary_hue="sky",secondary_hue="orange"),
    title="AMRA AI Medi Reader",
    css = "footer {visibility: hidden}",
    )

def refresh_data():
    return

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