import json
import gradio as gr
import modelscope_gradio_components as mgr
# label 为对用户展示值,value 为实际选择值
options = [{"label": "A", "value": "a"}, "b", "c"]
with gr.Blocks() as demo:
mgr.Markdown(f"""
Single Select:
Multiple Select:
Vertical Direction:
Card Shape:
""")
if __name__ == "__main__":
demo.queue().launch()