Spaces:
Running
Running
Download demos/example.py from modelscope/modelscope-studio: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/spaces/modelscope/modelscope-studio/resolve/main/demos/example.py
- Command line
-
hf download hf://spaces/modelscope/modelscope-studio/demos/example.py
-
curl -L -o example.py https://huggingface.co/spaces/modelscope/modelscope-studio/resolve/main/demos/example.py
305 Bytes
| import gradio as gr | |
| import modelscope_studio.components.antd as antd | |
| import modelscope_studio.components.base as ms | |
| with gr.Blocks() as demo: | |
| with ms.Application(), antd.ConfigProvider(), ms.AutoLoading(): | |
| antd.DatePicker() | |
| if __name__ == "__main__": | |
| demo.queue().launch(ssr_mode=False) | |