modelscope-studio 0.1.4__tar.gz → 0.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/PKG-INFO +2 -2
  2. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/WaterfallGallery/__init__.py +1 -1
  3. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/WaterfallGallery/__init__.pyi +3 -2
  4. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/pyproject.toml +1 -5
  5. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/.gitignore +0 -0
  6. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/LICENSE +0 -0
  7. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/README.md +0 -0
  8. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/__init__.py +0 -0
  9. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/__init__.py +0 -0
  10. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/__init__.pyi +0 -0
  11. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/llm_thinking_presets.py +0 -0
  12. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/templates/component/index-9933f53a.js +0 -0
  13. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/templates/component/index.js +0 -0
  14. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/templates/component/style.css +0 -0
  15. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/templates/example/index.js +0 -0
  16. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Chatbot/templates/example/style.css +0 -0
  17. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Flow/__init__.pyi +0 -0
  18. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/__init__.py +0 -0
  19. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/__init__.pyi +0 -0
  20. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/templates/component/index-9933f53a.js +0 -0
  21. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/templates/component/index.js +0 -0
  22. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/templates/component/style.css +0 -0
  23. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/templates/example/index-9933f53a.js +0 -0
  24. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/templates/example/index.js +0 -0
  25. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/Markdown/templates/example/style.css +0 -0
  26. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/__init__.py +0 -0
  27. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/__init__.pyi +0 -0
  28. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/templates/component/__vite-browser-external-2447137e.js +0 -0
  29. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/templates/component/index.js +0 -0
  30. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/templates/component/style.css +0 -0
  31. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/templates/component/wrapper-6f348d45-19fa94bf.js +0 -0
  32. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/templates/example/index.js +0 -0
  33. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/MultimodalInput/templates/example/style.css +0 -0
  34. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/WaterfallGallery/templates/component/index.js +0 -0
  35. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/components/WaterfallGallery/templates/component/style.css +0 -0
  36. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/utils/__init__.py +0 -0
  37. {modelscope_studio-0.1.4 → modelscope_studio-0.1.5}/backend/modelscope_studio/utils/process_links.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: modelscope_studio
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: A set of extension component, inluding components for conversational input and display in multimodal scenarios, as well as more components for vertical scenarios.
5
5
  Author-email: YOUR NAME <YOUREMAIL@domain.com>
6
6
  License-Expression: Apache-2.0
@@ -102,7 +102,7 @@ class ModelScopeWaterfallGallery(Component):
102
102
  elem_id: An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.
103
103
  elem_classes: An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles.
104
104
  render: If False, component will not render be rendered in the Blocks context. Should be used if the intention is to assign event listeners now but render the component later.
105
- columns: Represents the number of images that should be shown in one row, for each of the six standard screen sizes (<576px(xs)、<768px(sm)、<992px(md)、<1200px(lg)、<1600px(xl)、>1600px(xll)). If fewer than 6 are given then the last will be used for all subsequent breakpoints. If a dict is passed in, you can represents the number of images for each size screen with [xs,sm,md,lg,xl,xll] as the key.
105
+ columns: Represents the number of images that should be shown in one row, for each of the six standard screen sizes (<576px(xs), <768px(sm), <992px(md), <1200px(lg), <1600px(xl), >1600px(xll)). If fewer than 6 are given then the last will be used for all subsequent breakpoints. If a dict is passed in, you can represents the number of images for each size screen with [xs,sm,md,lg,xl,xll] as the key.
106
106
  height: The height of the gallery component, specified in pixels if a number is passed, or in CSS units if a string is passed. If more images are displayed than can fit in the height, a scrollbar will appear.
107
107
  allow_preview: If True, images in the gallery will be enlarged when they are clicked. Default is True.
108
108
  preview: If True, Gallery will start in preview mode, which shows all of the images as thumbnails and allows the user to click on them to view them in full size. Only works if allow_preview is True.
@@ -33,6 +33,7 @@ class GalleryImage(GradioModel):
33
33
  class GalleryData(GradioRootModel):
34
34
  root: List[GalleryImage]
35
35
 
36
+
36
37
  from gradio.events import Dependency
37
38
 
38
39
  @document()
@@ -103,7 +104,7 @@ class ModelScopeWaterfallGallery(Component):
103
104
  elem_id: An optional string that is assigned as the id of this component in the HTML DOM. Can be used for targeting CSS styles.
104
105
  elem_classes: An optional list of strings that are assigned as the classes of this component in the HTML DOM. Can be used for targeting CSS styles.
105
106
  render: If False, component will not render be rendered in the Blocks context. Should be used if the intention is to assign event listeners now but render the component later.
106
- columns: Represents the number of images that should be shown in one row, for each of the six standard screen sizes (<576px(xs)、<768px(sm)、<992px(md)、<1200px(lg)、<1600px(xl)、>1600px(xll)). If fewer than 6 are given then the last will be used for all subsequent breakpoints. If a dict is passed in, you can represents the number of images for each size screen with [xs,sm,md,lg,xl,xll] as the key.
107
+ columns: Represents the number of images that should be shown in one row, for each of the six standard screen sizes (<576px(xs), <768px(sm), <992px(md), <1200px(lg), <1600px(xl), >1600px(xll)). If fewer than 6 are given then the last will be used for all subsequent breakpoints. If a dict is passed in, you can represents the number of images for each size screen with [xs,sm,md,lg,xl,xll] as the key.
107
108
  height: The height of the gallery component, specified in pixels if a number is passed, or in CSS units if a string is passed. If more images are displayed than can fit in the height, a scrollbar will appear.
108
109
  allow_preview: If True, images in the gallery will be enlarged when they are clicked. Default is True.
109
110
  preview: If True, Gallery will start in preview mode, which shows all of the images as thumbnails and allows the user to click on them to view them in full size. Only works if allow_preview is True.
@@ -474,4 +475,4 @@ class ModelScopeWaterfallGallery(Component):
474
475
  concurrency_id: If set, this is the id of the concurrency group. Events with the same concurrency_id will be limited by the lowest set concurrency_limit.
475
476
  show_api: whether to show this event in the "view API" page of the Gradio app, or in the ".view_api()" method of the Gradio clients. Unlike setting api_name to False, setting show_api to False will still allow downstream apps to use this event. If fn is None, show_api will automatically be set to False.
476
477
  """
477
- ...
478
+ ...
@@ -8,7 +8,7 @@ build-backend = "hatchling.build"
8
8
 
9
9
  [project]
10
10
  name = "modelscope_studio"
11
- version = "0.1.4"
11
+ version = "0.1.5"
12
12
  description = "A set of extension component, inluding components for conversational input and display in multimodal scenarios, as well as more components for vertical scenarios."
13
13
  readme = "README.md"
14
14
  license = "Apache-2.0"
@@ -46,10 +46,6 @@ artifacts = [
46
46
  "backend/modelscope_studio/components/MultimodalInput/templates",
47
47
  "backend/modelscope_studio/components/Markdown/templates",
48
48
  "backend/modelscope_studio/components/WaterfallGallery/templates",
49
- "backend/modelscope_studio/components/Chatbot/templates",
50
- "backend/modelscope_studio/components/Markdown/templates",
51
- "backend/modelscope_studio/components/MultimodalInput/templates",
52
- "backend/modelscope_studio/components/WaterfallGallery/templates",
53
49
  ]
54
50
 
55
51
  [tool.hatch.build.targets.sdist]