Xyro123 commited on
Commit
1031ab1
·
verified ·
1 Parent(s): dde6b3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -14,10 +14,15 @@ import time
14
  from utils import MODELS_PROVIDERS_MAP, PROVIDERS_API_KEYS, REASONER_PROVIDERS_MAP, check_openai_api_key, trim_messages
15
  from settings import PROFILES_SETTINGS
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 = {
 
14
  from utils import MODELS_PROVIDERS_MAP, PROVIDERS_API_KEYS, REASONER_PROVIDERS_MAP, check_openai_api_key, trim_messages
15
  from settings import PROFILES_SETTINGS
16
  import os
17
+ import gradio as gr
18
  from aicore.config import LlmConfig
19
 
20
+ with gr.Blocks(css="""
21
+ .chat-logo::before {
22
+ content: url("public/avatar.png");
23
+ }
24
+ """) as app:
25
+ ...
26
  )
27
 
28
  DEFAULT_REASONER_CONFIG = {