File size: 1,357 Bytes
d870b92
 
 
 
 
 
 
 
 
 
 
 
814d7c2
d870b92
f34e2bf
 
d870b92
 
 
f983298
d870b92
 
065f61e
f983298
065f61e
d870b92
f34e2bf
d870b92
f983298
d870b92
 
f983298
d870b92
 
f983298
 
 
d870b92
f983298
f34e2bf
cc43c63
dc70110
d870b92
 
 
dc70110
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
40
41
42
43
44
45
46
import gradio as gr

css = """
footer {
    visibility: hidden;
}
"""

def create_home_screen():
    with gr.Blocks(theme="Nymbo/Nymbo_Theme", css=css) as home:
        gr.Image("banner.png", show_label=False)
        
        gr.Markdown("# ์ „๋ฌธ ์‹œ์Šคํ…œ ๊ทธ๋ฃน")
        
        gr.Markdown("## \n")  
        
        # News Item 1
        with gr.Row():
            with gr.Column(scale=1):
                gr.Image("news2.jpg", show_label=False)
            with gr.Column(scale=2):
                gr.Markdown("""
                ## [ํ†ตํ•ฉ Medim ๋ธ”๋กœ๊ทธ ์‹œ์Šคํ…œ] http://hugpu.ai:7917  \n   
                ## \n
                ## [AI ๊ฐœ์ธ๋น„์„œ: JinJAVIS] http://hugpu.ai:8000  \n                     
                """)
        gr.Markdown("## \n")  
        
        # News Item 2
        with gr.Row():
            with gr.Column(scale=1):
                gr.Image("news2.jpg", show_label=False)
            with gr.Column(scale=2):
                gr.Markdown("""
                ## [ ํ†ตํ•ฉ Auto-Multi ๋ธ”๋กœ๊ทธ ์‹œ์Šคํ…œ: Medium] http://hugpu.ai:7917  \n   
                ## \n
                ## [ AI ๊ฐœ์ธ๋น„์„œ: JinJAVIS ] http://hugpu.ai:8000  \n                     
                """)
        gr.Markdown("## \n")  
        

    return home

if __name__ == "__main__":
    home = create_home_screen()
    home.launch()