Skip to content

Commit c2c8aed

Browse files
committed
added agenttide logo
1 parent f9b76e3 commit c2c8aed

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

examples/hf_demo_space/app.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,21 @@
3636

3737
@cl.on_chat_start
3838
async def start_chatr():
39-
### create new dir to clone repo
40-
### and yeah force agentTide llm_config to be zreo
4139
session_id = ulid()
4240
cl.user_session.set("session_id", session_id)
4341
await cl.context.emitter.set_commands(AgentTideUi.commands)
4442
cl.user_session.set("chat_history", [])
4543

44+
await cl.Message(
45+
content="",
46+
elements=[
47+
cl.Image(
48+
path=os.getenv("AGENT_TIDE_LOGO_PATH"),
49+
size="large"
50+
)
51+
]
52+
).send()
53+
4654
exception = True
4755
while exception:
4856
try:
@@ -163,9 +171,9 @@ async def start_chatr():
163171
exception = e
164172

165173
await cl.Message(
166-
content="Hi, I'm Tide! Nice to meet you."
174+
content="Hi, I'm Tide... Nice to meet you!"
167175
).send()
168-
176+
169177
new_branch_name = f"agent-tide-{ulid()}"
170178
cl.user_session.set("current_branch_name", new_branch_name)
171179
checkout_new_branch(agent_tide_ui.agent_tide.tide.repo, new_branch_name=new_branch_name)

0 commit comments

Comments
 (0)