Spaces:
Runtime error
Runtime error
File size: 896 Bytes
fda84e9 43de500 1282196 20a1c83 43de500 92454f1 8f97e9b 4b4f1f6 43de500 f0716b5 82b9d78 f0716b5 43de500 8f97e9b c9ba1c0 82b9d78 92454f1 43de500 597f603 82b9d78 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 31 32 33 34 35 36 37 38 39 | import gradio as gr
from cloud_db import *
from cloud_db import *
from supplier import *
from utility import *
from features import init_app_data
from application import *
from ui_study import *
from ui_studies import *
# from application import app_data
examples = []
# app_theme = gr.themes.Base(neutral_hue="blue")
@terminal_print
def init_demo():
'''
initialize the demo data
'''
study_page = init_study_page()
studies_page = init_studies_page()
return gr.TabbedInterface(
[study_page,studies_page],
["Clinical Study","Studies"],
theme = gr.themes.Soft(primary_hue="sky",secondary_hue="orange"),
css = "footer {visibility: hidden}",
title="AMRA AI Medi Reader")
def refresh_data():
return
if __name__ == "__main__":
init_app_data()
demo = init_demo()
demo.launch() |