import gradio as gr import modelscope_studio as mgr import modelscope_studio.components.base as ms with gr.Blocks() as demo, ms.Application(): mgr.Markdown(""" ```json {"text": "glorious weather", "resolution": "1024*1024"} ``` Use `::accordion-title` to support markdown: ::accordion-title[Using `tool`] ```json {"text": "glorious weather", "resolution": "1024*1024"} ``` """) if __name__ == "__main__": demo.queue().launch()