sinapsis 0.2.12__tar.gz → 0.2.14__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 (30) hide show
  1. {sinapsis-0.2.12 → sinapsis-0.2.14}/PKG-INFO +3 -3
  2. {sinapsis-0.2.12 → sinapsis-0.2.14}/README.md +1 -1
  3. {sinapsis-0.2.12 → sinapsis-0.2.14}/docker/Dockerfile +2 -2
  4. {sinapsis-0.2.12 → sinapsis-0.2.14}/pyproject.toml +2 -5
  5. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/webapp/agent_webapp_utils.py +3 -1
  6. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/webapp/chatbot_base.py +0 -1
  7. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis.egg-info/PKG-INFO +3 -3
  8. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis.egg-info/SOURCES.txt +0 -1
  9. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis.egg-info/requires.txt +1 -1
  10. sinapsis-0.2.12/uv.lock +0 -1329
  11. {sinapsis-0.2.12 → sinapsis-0.2.14}/.dockerignore +0 -0
  12. {sinapsis-0.2.12 → sinapsis-0.2.14}/.gitignore +0 -0
  13. {sinapsis-0.2.12 → sinapsis-0.2.14}/.pre-commit-config.yaml +0 -0
  14. {sinapsis-0.2.12 → sinapsis-0.2.14}/.python-version +0 -0
  15. {sinapsis-0.2.12 → sinapsis-0.2.14}/LICENSE +0 -0
  16. {sinapsis-0.2.12 → sinapsis-0.2.14}/README-internal.md +0 -0
  17. {sinapsis-0.2.12 → sinapsis-0.2.14}/docker/compose.yaml +0 -0
  18. {sinapsis-0.2.12 → sinapsis-0.2.14}/setup.cfg +0 -0
  19. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/__init__.py +0 -0
  20. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/bin/sinapsis_cli.py +0 -0
  21. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/configs/hello_world_agent.yml +0 -0
  22. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/templates/__init__.py +0 -0
  23. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/templates/display_hello_world.py +0 -0
  24. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/templates/hello_world.py +0 -0
  25. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/webapp/__init__.py +0 -0
  26. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/webapp/agent_gradio_helper.py +0 -0
  27. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis/webapp/tts_base.py +0 -0
  28. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis.egg-info/dependency_links.txt +0 -0
  29. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis.egg-info/entry_points.txt +0 -0
  30. {sinapsis-0.2.12 → sinapsis-0.2.14}/src/sinapsis.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sinapsis
3
- Version: 0.2.12
3
+ Version: 0.2.14
4
4
  Summary: Modular and Universal AI platform
5
5
  Author-email: SinapsisAI <dev@sinapsis.tech>
6
6
  Project-URL: Homepage, https://sinapsis.tech
@@ -10,7 +10,7 @@ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis.git
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: sinapsis-core>=0.1.0
13
+ Requires-Dist: sinapsis-core>=0.1.4
14
14
  Provides-Extra: all
15
15
  Requires-Dist: sinapsis[dev]; extra == "all"
16
16
  Provides-Extra: webapp
@@ -218,7 +218,7 @@ you need to make sure the sinapsis base images are built in your system. To buil
218
218
  ```bash
219
219
  git clone git@github.com:Sinapsis-ai/sinapsis.git
220
220
  cd sinapsis
221
- ```
221
+ ```
222
222
 
223
223
  2. **Build the image**
224
224
  ```bash
@@ -199,7 +199,7 @@ you need to make sure the sinapsis base images are built in your system. To buil
199
199
  ```bash
200
200
  git clone git@github.com:Sinapsis-ai/sinapsis.git
201
201
  cd sinapsis
202
- ```
202
+ ```
203
203
 
204
204
  2. **Build the image**
205
205
  ```bash
@@ -13,8 +13,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
13
13
  && apt clean && rm -rf /var/lib/apt/lists/*
14
14
 
15
15
  # install uv
16
- ADD https://astral.sh/uv/install.sh /uv-installer.sh
17
- RUN sh /uv-installer.sh && rm /uv-installer.sh
16
+ ADD https://astral.sh/uv/0.6.17/install.sh /uv-installer.sh
17
+ RUN sh /sh uv-installer.sh && rm /uv-installer.sh
18
18
  ENV PATH="/root/.local/bin/:$PATH"
19
19
  COPY . /app/
20
20
 
@@ -1,13 +1,13 @@
1
1
  [project]
2
2
  name = "sinapsis"
3
- version = "0.2.12"
3
+ version = "0.2.14"
4
4
  description = "Modular and Universal AI platform"
5
5
  authors = [
6
6
  {name = "SinapsisAI", email = "dev@sinapsis.tech"},
7
7
  ]
8
8
 
9
9
  dependencies = [
10
- "sinapsis-core>=0.1.0",
10
+ "sinapsis-core>=0.1.4",
11
11
  ]
12
12
  requires-python = ">=3.10"
13
13
  readme = "README.md"
@@ -55,9 +55,6 @@ lint.select = [
55
55
  line-length = 120
56
56
  show-fixes = true
57
57
 
58
- [tool.uv.sources]
59
- sinapsis-core = { index = "sinapsis-core" }
60
-
61
58
  [[tool.uv.index]]
62
59
  name = "sinapsis-core"
63
60
  url = "https://pypi.sinapsis.tech/"
@@ -41,7 +41,9 @@ def infer_video(agent: Agent, video: Any) -> Path:
41
41
  """
42
42
  agent.update_template_attribute("VideoReaderCV2", "video_file_path", video)
43
43
  agent.reset_state()
44
- for _ in agent(None, AgentMode.GENERATOR):
44
+
45
+ agent.agent_attributes.agent_mode = AgentMode.GENERATOR
46
+ for _ in agent(None):
45
47
  pass
46
48
  agent.topological_sort["VideoWriterCV2"].template_instance.video_writer_is_done()
47
49
  sinapsis_logger.debug("Finished processing video")
@@ -85,7 +85,6 @@ class BaseChatbot:
85
85
  os.makedirs(os.path.dirname(self.file_name), exist_ok=True)
86
86
  self._setup_working_directory()
87
87
 
88
-
89
88
  def _setup_working_directory(self) -> None:
90
89
  """Creates a temporary directory for storing uploaded media files."""
91
90
  self.gradio_temp_dir = get_upload_folder()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sinapsis
3
- Version: 0.2.12
3
+ Version: 0.2.14
4
4
  Summary: Modular and Universal AI platform
5
5
  Author-email: SinapsisAI <dev@sinapsis.tech>
6
6
  Project-URL: Homepage, https://sinapsis.tech
@@ -10,7 +10,7 @@ Project-URL: Repository, https://github.com/Sinapsis-AI/sinapsis.git
10
10
  Requires-Python: >=3.10
11
11
  Description-Content-Type: text/markdown
12
12
  License-File: LICENSE
13
- Requires-Dist: sinapsis-core>=0.1.0
13
+ Requires-Dist: sinapsis-core>=0.1.4
14
14
  Provides-Extra: all
15
15
  Requires-Dist: sinapsis[dev]; extra == "all"
16
16
  Provides-Extra: webapp
@@ -218,7 +218,7 @@ you need to make sure the sinapsis base images are built in your system. To buil
218
218
  ```bash
219
219
  git clone git@github.com:Sinapsis-ai/sinapsis.git
220
220
  cd sinapsis
221
- ```
221
+ ```
222
222
 
223
223
  2. **Build the image**
224
224
  ```bash
@@ -6,7 +6,6 @@ LICENSE
6
6
  README-internal.md
7
7
  README.md
8
8
  pyproject.toml
9
- uv.lock
10
9
  docker/Dockerfile
11
10
  docker/compose.yaml
12
11
  src/sinapsis/__init__.py
@@ -1,4 +1,4 @@
1
- sinapsis-core>=0.1.0
1
+ sinapsis-core>=0.1.4
2
2
 
3
3
  [all]
4
4
  sinapsis[dev]