import json
import gradio as gr
import modelscope_studio.components.base as ms
import modelscope_studio.components.legacy as mgr
# `label` will display on the page, and `value` is the actual selected value.
options = [{"label": "A", "value": "a"}, "b", "c"]
with gr.Blocks() as demo, ms.Application():
mgr.Markdown(f"""
Single Select:
Multiple Select:
Vertical Direction:
Card Shape:
""")
if __name__ == "__main__":
demo.queue().launch()