Xyro123 commited on
Commit
dde6b3f
·
verified ·
1 Parent(s): 8a734ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -16,6 +16,10 @@ from settings import PROFILES_SETTINGS
16
  import os
17
  from aicore.config import LlmConfig
18
 
 
 
 
 
19
  DEFAULT_REASONER_CONFIG = {
20
  "openai": LlmConfig(
21
  provider="openai",
@@ -65,6 +69,8 @@ async def chat_profile():
65
  cl.ChatProfile(
66
  name="ZeppFusion",
67
  markdown_description="Talk with the lastest Llm models! Powered by AiCore, check it on GitHub, link in Readme",
 
 
68
  ),
69
  cl.ChatProfile(
70
  name="OpenAi",
@@ -113,7 +119,8 @@ async def start_chat():
113
  cl.user_session.set(
114
  "llm", llm
115
  )
116
-
 
117
  settings = await cl.ChatSettings(
118
  PROFILES_SETTINGS.get("messages",
119
  [])
 
16
  import os
17
  from aicore.config import LlmConfig
18
 
19
+ cl.set_theme(
20
+ logo="public/avatar.png"
21
+ )
22
+
23
  DEFAULT_REASONER_CONFIG = {
24
  "openai": LlmConfig(
25
  provider="openai",
 
69
  cl.ChatProfile(
70
  name="ZeppFusion",
71
  markdown_description="Talk with the lastest Llm models! Powered by AiCore, check it on GitHub, link in Readme",
72
+
73
+ settings=PROFILES_SETTINGS.get("ZeppFusion")
74
  ),
75
  cl.ChatProfile(
76
  name="OpenAi",
 
119
  cl.user_session.set(
120
  "llm", llm
121
  )
122
+
123
+ profile_settings = PROFILES_SETTINGS.get(user_profile, {})
124
  settings = await cl.ChatSettings(
125
  PROFILES_SETTINGS.get("messages",
126
  [])