import gradio as gr | |
with gr.Blocks() as demo: | |
gr.Markdown( | |
""" | |
# νλ‘μ νΈ μκ° | |
## λͺ©ν | |
μ΄ νλ‘μ νΈλ νκ΅μ΄ κ²½μ κΈ°μ¬μ κ°μ μ νκ°νλ κ²μ λͺ©νλ‘ ν©λλ€. | |
νκ΅μ΄ κ²½μ κΈ°μ¬λ₯Ό μ΄μ©νμ¬ λ―ΈμΈ μ‘°μ μ μνν΄μ κ°μ μ νλ¨ν©λλ€. | |
## ν μ 보 | |
- νμ 1 | |
- νμ 2 | |
- νμ 3 | |
## λͺ¨λΈ μ 보 | |
--- | |
""") | |
gr.Interface.load("models/gabrielyang/finance_news_classifier-KR_v7") | |
if __name__ == "__main__": | |
demo.launch() | |
# gr.Interface.load("models/gabrielyang/finance_news_classifier-KR_v7").launch() |