File size: 3,191 Bytes
d870b92
 
 
 
 
 
 
 
 
 
 
 
a11f1e0
d870b92
 
 
 
b4a968c
d870b92
 
73b0f61
5648b46
2671434
 
 
 
5648b46
54df681
73b0f61
d870b92
 
 
 
 
 
 
 
3337482
 
e646e14
c4c9ff4
f38b807
d870b92
532c588
 
d870b92
cc43c63
532c588
 
 
 
cc43c63
 
 
 
 
 
 
d870b92
 
 
 
f38b807
532c588
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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("# Latest News")
        
        # News Item 1
        with gr.Row():
            with gr.Column(scale=1):
                gr.Image("gif.gif", show_label=False)
            with gr.Column(scale=2):
                gr.Markdown("""
                ## [ HuGPU.AI 곡지 및 μƒˆμ†Œμ‹ ]
                πŸ€– 멀버쉽 ν”„λ‘œκ·Έλž¨ κ°œμ„€: "멀버쉽 ν”„λ‘œκ·Έλž¨ μ•ˆλ‚΄" 메뉴λ₯Ό μ°Έκ³ ν•˜μ„Έμš”. \n
                ⚑ μ°¨λ³„ν™”λ˜κ³  전문적인 'AI μ„œλΉ„μŠ€ 130μ—¬μ’…'을 λ¬΄μ œν•œ μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. \n                
                ⚑ 각 μ„œλΉ„μŠ€λ“€μ€ λŒ€λΆ€λΆ„ ν•œκΈ€ μž…λ ₯(ν”„λ‘¬ν”„νŠΈ)이 μ§€μ›λ©λ‹ˆλ‹€. \n             
                πŸ† '베슀트 였브 베슀트'λŠ” 자체 개발 독점 μ„œλΉ„μŠ€ λ˜λŠ” 졜고 인기 μ„œλΉ„μŠ€λ“€λ§Œ μ„ λ³„ν•˜μ—¬ μ œκ³΅ν•˜λŠ” 메뉴\n
                πŸ† '... μŠ€νŽ˜μ…œ'은 μΈκΈ°μžˆλŠ” 동일 λΆ„μ•Ό μ „λ¬Έ μ„œλΉ„μŠ€λ“€λ§Œ μ„ λ³„ν•˜μ—¬ μ œκ³΅ν•˜λŠ” λ©”λ‰΄μž…λ‹ˆλ‹€. \n
                πŸ† 각 λ©”λ‰΄λŠ” 'μΉ΄ν…Œκ³ λ¦¬' κΈ°μ€€μœΌλ‘œ κ΅¬μ„±λ˜μ–΄ μ„ λ³„λœ μ„ΈλΆ€ μ„œλΉ„μŠ€λ“€μ„ μ œκ³΅ν•©λ‹ˆλ‹€. \n
                πŸ† 메뉴 λ³΄λŠ”λ²•: [T2I]λŠ” Text to Image, [I2I]λŠ” Image to Imager, [T2V]λŠ”, Text to Video λ“± ꡬ뢄\n                
                πŸ€–  [이메일 문의] [email protected]  \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("""
                ## 멀버쉽 ν”„λ‘œκ·Έλž¨ μ•ˆλ‚΄  
                πŸ† 멀버쉽 ν”„λ‘œκ·Έλž¨ μ°Έμ—¬μžμ—κ²Œλ§Œ 접속 계정(κΆŒν•œ)이 μ œκ³΅λ©λ‹ˆλ‹€. \n
                πŸ† 멀버쉽 ν”„λ‘œκ·Έλž¨ μ°Έμ—¬μžμ—κ²ŒλŠ” 'AI μ„œλΉ„μŠ€ ν™œμš©' ꡐ윑 ν”„λ‘œκ·Έλž¨μ΄ μ œκ³΅λ©λ‹ˆλ‹€. \n
                πŸ† 멀버쉽 μ°Έμ—¬μžλŠ”, λ””μŠ€μ½”λ“œ μ„œλ²„ https://discord.gg/openfreeai '프라이빗'(Private) κΆŒν•œ λΆ€μ—¬\n
                πŸ† κ³ μ„±λŠ₯ NVIDIA H100 X 4ea, A100 X 50ea, L40s X 1eaκ³Ό 총 130μ—¬λŒ€μ˜ μ„œλ²„μ—μ„œ 가동쀑 \n        
                """)

        # Discord iframe as another column
        with gr.Row():

            with gr.Column(scale=1):
                gr.HTML("""
                <iframe src="https://discord.com/widget?id=1228254992729767996&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
                """)
                
            with gr.Column(scale=2):
                gr.Markdown("""
                ### λ””μŠ€μ½”λ“œ μ„œλ²„ μ°Έμ—¬ 
                πŸ€– λ””μŠ€μ½”λ“œ μ„œλ²„μ— μ°Έμ—¬ν•˜λ©΄ λ”μš± λ‹€μ–‘ν•œ 90μ’… μ΄μƒμ˜ AI μ„œλΉ„μŠ€λ₯Ό λ§Œλ‚  수 μžˆμŠ΅λ‹ˆλ‹€. \n
                πŸ€– 우츑 ν™”λ©΄ ν•˜λ‹¨ "Join Discord"λ₯Ό ν΄λ¦­ν•˜μ„Έμš”. \n
                """)
    return home

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