|
|
|
@ -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
|
|
|
|
|