import gradio as gr with gr.Blocks() as demo: gr.Markdown( """ # Hello World! Start typing below to see the output. """) 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()