pull/55/head
Kye 1 year ago
parent 080705861d
commit e6127ac6e3

@ -18,8 +18,6 @@ from swarms.models.petals import Petals
from swarms.workers.worker import Worker
#from swarms.models.openai import OpenAIChat
#structs
from swarms.structs.workflow import Workflow

@ -14,8 +14,6 @@
# from swarms.tools.developer import Terminal, CodeEditor
#agents
from swarms.agents.profitpilot import ProfitPilot
from swarms.agents.aot import AoTAgent

@ -12,7 +12,10 @@ class OmniModalAgent:
self.api_endpoint = api_endpoint
self.api_type = api_type
def chat(self, data):
def chat(
self,
data
):
"""Chat with omni-modality model that uses huggingface to query for a specific model at run time. Translate text to speech, create images and more"""
messages = data.get("messages")
api_key = data.get("api_key", self.api_key)

@ -1,10 +1,10 @@
logo = """
________ _ _______ _______ _____ ______
/ ___/\ \/ \/ /\__ \\_ __ \/ \ / ___/
\___ \ \ / / __ \| | \/ Y Y \\___ \
/____ > \/\_/ (____ /__| |__|_| /____ >
\/ \/ \/ \/
"""
# logo = """
# ________ _ _______ _______ _____ ______
# / ___/\ \/ \/ /\__ \\_ __ \/ \ / ___/
# \___ \ \ / / __ \| | \/ Y Y \\___ \
# /____ > \/\_/ (____ /__| |__|_| /____ >
# \/ \/ \/ \/
# """
logo2 = """

Loading…
Cancel
Save