pull/421/head
Kye 10 months ago
parent fe4966c849
commit 8fe317b909

1
.gitignore vendored

@ -21,6 +21,7 @@ Cargo.lock
Cargo.lock Cargo.lock
swarms/agents/.DS_Store swarms/agents/.DS_Store
logs
_build _build
conversation.txt conversation.txt
stderr_log.txt stderr_log.txt

@ -1,46 +0,0 @@
import pytest
def test_create_youtube_account():
# Arrange
# Act
# Assert
def test_install_video_editing_software():
# Arrange
# Act
# Assert
def test_write_script():
# Arrange
# Act
# Assert
def test_gather_footage():
# Arrange
# Act
# Assert
def test_edit_video():
# Arrange
# Act
# Assert
def test_export_video():
# Arrange
# Act
# Assert
def test_upload_video_to_youtube():
# Arrange
# Act
# Assert
def test_optimize_video_for_search():
# Arrange
# Act
# Assert
def test_share_video():
# Arrange
# Act
# Assert

@ -24,30 +24,29 @@ classifiers = [
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.9" python = ">=3.9,<4.0"
torch = "2.1.1" torch = "2.1.1"
transformers = "4.37.1" transformers = "*"
openai = "0.28.0"
langchain = "0.0.333"
asyncio = "3.4.3" asyncio = "3.4.3"
einops = "0.7.0" einops = "0.7.0"
google-generativeai = "0.3.1" google-generativeai = "0.3.1"
langchain-experimental = "0.0.10" langchain-experimental = "0.0.10"
opencv-python-headless = "4.8.1.78" langchain-community = "*"
faiss-cpu = "1.7.4" faiss-cpu = "1.7.4"
backoff = "2.2.1" backoff = "2.2.1"
datasets = "*" datasets = "*"
optimum = "1.15.0" optimum = "1.15.0"
diffusers = "*" diffusers = "*"
langchain = "*"
toml = "*" toml = "*"
pypdf = "4.0.1" pypdf = "4.0.1"
accelerate = "*" accelerate = "*"
anthropic = "*"
sentencepiece = "0.1.98" sentencepiece = "0.1.98"
httpx = "0.24.1" httpx = "0.24.1"
tiktoken = "0.4.0" tiktoken = "0.4.0"
ratelimit = "2.2.1" ratelimit = "2.2.1"
loguru = "0.7.2" loguru = "0.7.2"
pydantic-settings = "*"
huggingface-hub = "*" huggingface-hub = "*"
pydantic = "*" pydantic = "*"
tenacity = "8.2.2" tenacity = "8.2.2"
@ -78,8 +77,6 @@ types-chardet = "^5.0.4.6"
mypy-protobuf = "^3.0.0" mypy-protobuf = "^3.0.0"
[tool.ruff] [tool.ruff]
line-length = 70 line-length = 70
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default. # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.

@ -31,6 +31,7 @@ einops==0.7.0
opencv-python-headless==4.8.1.78 opencv-python-headless==4.8.1.78
numpy numpy
openai==0.28.0 openai==0.28.0
langchain-community
opencv-python==4.9.0.80 opencv-python==4.9.0.80
timm timm
cohere==4.53 cohere==4.53

@ -1,4 +1,12 @@
from swarms.models.anthropic import Anthropic # noqa: E402 from langchain_community.llms import (
Anthropic,
AzureOpenAI,
Cohere,
MosaicML,
OpenAI,
OpenAIChat,
Replicate,
)
from swarms.models.base_embedding_model import BaseEmbeddingModel from swarms.models.base_embedding_model import BaseEmbeddingModel
from swarms.models.base_llm import AbstractLLM # noqa: E402 from swarms.models.base_llm import AbstractLLM # noqa: E402
from swarms.models.base_multimodal_model import BaseMultiModalModel from swarms.models.base_multimodal_model import BaseMultiModalModel
@ -40,7 +48,6 @@ from swarms.models.zephyr import Zephyr # noqa: E402
from swarms.models.zeroscope import ZeroscopeTTV # noqa: E402 from swarms.models.zeroscope import ZeroscopeTTV # noqa: E402
__all__ = [ __all__ = [
"Anthropic",
"AbstractLLM", "AbstractLLM",
"BaseEmbeddingModel", "BaseEmbeddingModel",
"BaseMultiModalModel", "BaseMultiModalModel",
@ -48,18 +55,18 @@ __all__ = [
"CLIPQ", "CLIPQ",
"FireFunctionCaller", "FireFunctionCaller",
"Fuyu", "Fuyu",
"Gemini",
"Gigabind", "Gigabind",
"GPT4VisionAPI", "GPT4VisionAPI",
"HuggingfaceLLM", "HuggingfaceLLM",
"Idefics", "Idefics",
"Kosmos", "Kosmos",
"LavaMultiModal",
"LayoutLMDocumentQA", "LayoutLMDocumentQA",
"LavaMultiModal",
"Mistral", "Mistral",
"Mixtral", "Mixtral",
"MPT7B", "MPT7B",
"Nougat", "Nougat",
"Gemini",
"OpenAITTS", "OpenAITTS",
"Petals", "Petals",
"QwenVLMultiModal", "QwenVLMultiModal",
@ -69,14 +76,22 @@ __all__ = [
"SamplingType", "SamplingType",
"TimmModel", "TimmModel",
"TogetherLLM", "TogetherLLM",
"UltralyticsModel",
"Vilt",
"WizardLLMStoryTeller",
"Zephyr",
"ZeroscopeTTV",
"AudioModality", "AudioModality",
"ImageModality", "ImageModality",
"MultimodalData", "MultimodalData",
"TextModality", "TextModality",
"VideoModality", "VideoModality",
"UltralyticsModel",
"Vilt",
"WizardLLMStoryTeller",
"Zephyr",
"ZeroscopeTTV",
"AzureChatOpenAI",
"OpenAIChat",
"Anthropic",
"AzureOpenAI",
"Cohere",
"MosaicML",
"OpenAI",
"Replicate",
] ]

Loading…
Cancel
Save