Spaces:
Running
Running
File size: 3,319 Bytes
d870b92 a11f1e0 d870b92 f34e2bf d870b92 b4a968c d870b92 73b0f61 5648b46 2671434 5648b46 54df681 73b0f61 d870b92 f34e2bf d870b92 3337482 e646e14 c4c9ff4 f38b807 d870b92 532c588 f34e2bf 532c588 d870b92 cc43c63 532c588 cc43c63 6f0da64 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 66 67 68 69 70 71 |
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")
gr.Markdown("## \n")
# 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
""")
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("""
## λ©€λ²μ½ νλ‘κ·Έλ¨ μλ΄
π λ©€λ²μ½ νλ‘κ·Έλ¨ μ°Έμ¬μμκ²λ§ μ μ κ³μ (κΆν)μ΄ μ 곡λ©λλ€. \n
π λ©€λ²μ½ νλ‘κ·Έλ¨ μ°Έμ¬μμκ²λ 'AI μλΉμ€ νμ©' κ΅μ‘ νλ‘κ·Έλ¨μ΄ μ 곡λ©λλ€. \n
π λ©€λ²μ½ μ°Έμ¬μλ, λμ€μ½λ μλ² https://discord.gg/openfreeai 'νλΌμ΄λΉ'(Private) κΆν λΆμ¬\n
π κ³ μ±λ₯ NVIDIA H100 X 4ea, A100 X 50ea, L40s X 1eaκ³Ό μ΄ 130μ¬λμ μλ²μμ κ°λμ€ \n
""")
gr.Markdown("## \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()
|