Spaces:
Running
Running
File size: 2,245 Bytes
ed60594 db32e48 e841ba5 db32e48 e841ba5 6af7472 db32e48 e841ba5 db32e48 ed60594 db32e48 e841ba5 db32e48 e81c08f db32e48 e841ba5 db32e48 e841ba5 db32e48 e841ba5 a1809de e841ba5 6af7472 e841ba5 db32e48 ed7ca64 f3f2a15 ed7ca64 db32e48 ed7ca64 e841ba5 ed7ca64 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | ---
tags:
- gradio-custom-component
- component library
- Ant Design
- modelscope-studio
title: modelscope-studio
colorFrom: blue
colorTo: gray
short_description: A third-party component library based on Gradio.
sdk: gradio
sdk_version: 6.28.0
pinned: false
header: mini
app_file: app.py
license: apache-2.0
---
# ModelScope Studio
<p align="center">
<img src="https://modelscope.oss-cn-beijing.aliyuncs.com/modelscope.gif" height="60" style="vertical-align: middle;"/>
<span style="font-size: 30px; vertical-align: middle;">
✖️
</span>
<img src="https://github.com/gradio-app/gradio/raw/main/readme_files/gradio.svg" height="60" style="vertical-align: middle;">
<p>
<p align="center">
<a href="https://github.com/modelscope/modelscope-studio">GitHub</a> | 🤖 <a href="https://modelscope.cn/studios/modelscope/modelscope-studio">ModelScope Studio</a> | 🤗 <a href="https://huggingface.co/spaces/modelscope/modelscope-studio">Hugging Face Space</a>
`modelscope_studio` is a third-party component library based on Gradio, offers developers more customized interface building capabilities and a richer variety of component usage forms.
Currently supported UI libraries:
- [Ant Design](https://ant.design/)
## When to Use
Compared to the original components of Gradio, `modelscope_studio` focuses more on page layout and component flexibility. If you want to build a more beautiful user interface, we highly recommend using `modelscope_studio`.
However, when your application needs Gradio to handle more built-in data on the Python side, the components of `modelscope_studio` may not be the best choice, but don't worry, it integrates well with existing Gradio components, you can still use `modelscope_studio` to optimize your application.
> If you are using `modelscope_studio` in Hugging Face Space, please add the `ssr_mode=False` parameter to the `demo.launch()`: `demo.launch(ssr_mode=False)`, otherwise the page may not display properly.
## Dependencies
- Gradio >= 6.28.0
## Installation
```sh
pip install modelscope_studio
```
If you need to use `4.43.0 <= Gradio < 6.0.0`, please use 1.x version:
```sh
pip install modelscope_studio~=1.0
```
## Examples
<demo name="example"></demo>
|