Spaces:
Runtime error
Runtime error
File size: 380 Bytes
ed7ca64 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import gradio as gr
import modelscope_studio.components.antdx as antdx
import modelscope_studio.components.base as ms
with gr.Blocks() as demo:
with ms.Application():
with antdx.XProvider():
antdx.Mermaid(value="""graph TD
A[Start] --> B{Decision}
B -->|Yes| C[OK]
B -->|No| D[Cancel]""")
if __name__ == "__main__":
demo.queue().launch()
|