Spaces:
Running
Running
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() |