doctorvivin commited on
Commit
908a49b
·
verified ·
1 Parent(s): 40ea038

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -47,8 +47,6 @@ demo = gr.ChatInterface(
47
  fn=generate,
48
  chatbot=mychatbot,
49
  title="Hello! I'm Elisa by SpriFi.👋 How can I help you today?",
50
- retry_btn=None,
51
- undo_btn=None,
52
  css="body { background-color: inherit; overflow-x:hidden;}"
53
  ":root {--color-accent: transparent !important; --color-accent-soft:transparent !important; --code-background-fill:black !important; --body-text-color:white !important;}"
54
  "#component-2 {background:#ffffff1a; display:contents;}"
@@ -73,7 +71,7 @@ demo = gr.ChatInterface(
73
  ".toast-wrap.svelte-pu0yf1 { display:none !important;}"
74
  ".scroll-hide { scrollbar-width: auto !important;}"
75
  ".main svelte-1kyws56 {max-width: 800px; align-self: center;}"
76
-
77
  )
78
 
79
  demo.queue().launch(show_api=False)
 
47
  fn=generate,
48
  chatbot=mychatbot,
49
  title="Hello! I'm Elisa by SpriFi.👋 How can I help you today?",
 
 
50
  css="body { background-color: inherit; overflow-x:hidden;}"
51
  ":root {--color-accent: transparent !important; --color-accent-soft:transparent !important; --code-background-fill:black !important; --body-text-color:white !important;}"
52
  "#component-2 {background:#ffffff1a; display:contents;}"
 
71
  ".toast-wrap.svelte-pu0yf1 { display:none !important;}"
72
  ".scroll-hide { scrollbar-width: auto !important;}"
73
  ".main svelte-1kyws56 {max-width: 800px; align-self: center;}"
74
+ "div#component-4 {max-width: 650px; margin-left: auto; margin-right: auto;}"
75
  )
76
 
77
  demo.queue().launch(show_api=False)