doctorvivin commited on
Commit
d7ad13d
1 Parent(s): 0c41bbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -38,8 +38,6 @@ def generate(
38
  yield output
39
  return output
40
 
41
- custom_html = "<div>Hello! I'm Elisa by SpriFi. Your friendly AI assistant. How can I help you with, today?</div>"
42
-
43
  mychatbot = gr.Chatbot(
44
  avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
45
 
@@ -49,7 +47,7 @@ demo = gr.ChatInterface(fn=generate,
49
  retry_btn=None,
50
  undo_btn=None,
51
  css="body { background-color: inherit; }"
52
- "#component-2 {display: nne;}"
53
  ".gradio-container.gradio-container-4-8-0.svelte-1kyws56.app {max-width: 100% !important;}"
54
  "gradio-app {background: linear-gradient(134deg,#00425e 0%,#001a3f 43%,#421438 77%) !important; background-attachment: fixed !important; background-position: top;}"
55
  ".panel.svelte-vt1mxs {background: transparent;}"
@@ -57,7 +55,7 @@ demo = gr.ChatInterface(fn=generate,
57
  ".bot.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white;}"
58
  ".user.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white; padding: 10px 18px;}"
59
  "div.svelte-iyf88w{ background: #cc98d445; border-color: transparent; border-radius: 25px;}"
60
- "textarea.scroll-hide.svelte-1f354aw { background: transparent;}"
61
  ".primary.svelte-cmf5ev { background: transparent; color: white;}"
62
  ".primary.svelte-cmf5ev:hover { background: transparent; color: white;}"
63
  "button#component-8 { display: flex; position: absolute; margin-top: 60px; border-radius: 25px;}"
 
38
  yield output
39
  return output
40
 
 
 
41
  mychatbot = gr.Chatbot(
42
  avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
43
 
 
47
  retry_btn=None,
48
  undo_btn=None,
49
  css="body { background-color: inherit; }"
50
+ "#component-2 {display: none;}"
51
  ".gradio-container.gradio-container-4-8-0.svelte-1kyws56.app {max-width: 100% !important;}"
52
  "gradio-app {background: linear-gradient(134deg,#00425e 0%,#001a3f 43%,#421438 77%) !important; background-attachment: fixed !important; background-position: top;}"
53
  ".panel.svelte-vt1mxs {background: transparent;}"
 
55
  ".bot.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white;}"
56
  ".user.svelte-12dsd9j.svelte-12dsd9j.svelte-12dsd9j { background: #ffffff1a; border-color: transparent; color: white; padding: 10px 18px;}"
57
  "div.svelte-iyf88w{ background: #cc98d445; border-color: transparent; border-radius: 25px;}"
58
+ "textarea.scroll-hide.svelte-1f354aw { background: transparent; color: #fff;}"
59
  ".primary.svelte-cmf5ev { background: transparent; color: white;}"
60
  ".primary.svelte-cmf5ev:hover { background: transparent; color: white;}"
61
  "button#component-8 { display: flex; position: absolute; margin-top: 60px; border-radius: 25px;}"