Add discord bot

Former-commit-id: 7168a31a6b
discord-bot
Zack 2 years ago
parent 213053cc1e
commit ae244e62ba

@ -9,12 +9,6 @@ from swarms.agents import OmniModalAgent
import gradio_client as grc
from dspy import Program, Prompt, Finetune, Decompose
from dspy import Program, Prompt, Finetune, Decompose
from dspy.retrieval import retrieve
program = Program(
Decompose(
Prompt("I have 4 shirts that take 5hrs to dry long shoul")
)
grc.Client("Wawaa/omni_bot").deploy_discord()
@ -57,7 +51,6 @@ def update_chat(user_input):
latest_image = get_latest_image()
if latest_image:
chat_history.append({"type": "image", "content": latest_image})
return render_chat(chat_history)
# Function to render chat as HTML

Loading…
Cancel
Save