doctorvivin commited on
Commit
885e40e
1 Parent(s): ad8266e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -4
app.py CHANGED
@@ -43,15 +43,15 @@ mychatbot = gr.Chatbot(
43
 
44
  demo = gr.ChatInterface(fn=generate,
45
  chatbot=mychatbot,
46
- title="Elisa AI",
47
  retry_btn=None,
48
  undo_btn=None,
49
  css="body { background-color: inherit; }"
50
- "#component-2 {display: nne;}"
51
  "div#component-0 { height: auto !important;}"
52
  ".gradio-container.gradio-container-4-8-0.svelte-1kyws56.app {max-width: 100% !important;}"
53
  "gradio-app {background: linear-gradient(134deg,#00425e 0%,#001a3f 43%,#421438 77%) !important; background-attachment: fixed !important; background-position: top;}"
54
- ".panel.svelte-vt1mxs {background: transparent;}"
55
  ".block.svelte-90oupt { background: transparent; border-color: transparent;}"
56
  ".bot.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white;}"
57
  ".user.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white; padding: 10px 18px;}"
@@ -64,7 +64,9 @@ demo = gr.ChatInterface(fn=generate,
64
  ".share-button.svelte-12dsd9j { display: none;}"
65
  "footer.svelte-mpyp5e { display: none !important;}"
66
  ".message-buttons-bubble.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { border-color: #31546E; background: #31546E;}"
67
-
 
 
68
  )
69
 
70
  demo.queue().launch(show_api=False)
 
43
 
44
  demo = gr.ChatInterface(fn=generate,
45
  chatbot=mychatbot,
46
+ title="Hello! I'm Elisa by SpriFi. Your friendly AI assistant. How can I help you today?",
47
  retry_btn=None,
48
  undo_btn=None,
49
  css="body { background-color: inherit; }"
50
+ "#component-2 {background:#ffffff1a; display:contents;}"
51
  "div#component-0 { height: auto !important;}"
52
  ".gradio-container.gradio-container-4-8-0.svelte-1kyws56.app {max-width: 100% !important;}"
53
  "gradio-app {background: linear-gradient(134deg,#00425e 0%,#001a3f 43%,#421438 77%) !important; background-attachment: fixed !important; background-position: top;}"
54
+ ".panel.svelte-vt1mxs {background: transparent; padding:0;}"
55
  ".block.svelte-90oupt { background: transparent; border-color: transparent;}"
56
  ".bot.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white;}"
57
  ".user.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white; padding: 10px 18px;}"
 
64
  ".share-button.svelte-12dsd9j { display: none;}"
65
  "footer.svelte-mpyp5e { display: none !important;}"
66
  ".message-buttons-bubble.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { border-color: #31546E; background: #31546E;}"
67
+ ".bubble-wrap.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j {padding: 0;}"
68
+ ".prose h1 { color: white !important; font-size: 16px !important; font-weight: normal !important; background: #ffffff1a; padding: 20px; border-radius: 20px; width: fit-content; margin-left: auto !important; margin-right: auto !important;}"
69
+
70
  )
71
 
72
  demo.queue().launch(show_api=False)