patti-j commited on
Commit
11b1ae5
1 Parent(s): a49c2de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import gradio as gr
2
 
3
 
4
-
5
  """class ChatWrapper:
6
 
7
  def __call__(
@@ -21,7 +20,10 @@ block = gr.Blocks(css=".gradio-container {background-color: lightblue}")
21
 
22
  with block:
23
  with gr.Row():
24
- label = None
 
 
 
25
  disclaimer = gr.Textbox(
26
  "I am an AI ChatBot and I am here to assist you with whatever is bothering you. "
27
  "Our conversation is strictly confidential and I will not remember it when you come back another time."
@@ -35,13 +37,14 @@ with block:
35
 
36
  gr.Examples(
37
  examples=[
 
38
  "I'm having problems at home",
39
  "I am jumpy when I hear a loud noise and I feel scared all the time",
40
  ],
41
  inputs=message,
42
  )
43
 
44
- gr.HTML("Omdena AI Chatbot For Mental Health and Well Being")
45
 
46
 
47
  # submit.click(chat, inputs=[message], outputs=[chatbot])
 
1
  import gradio as gr
2
 
3
 
 
4
  """class ChatWrapper:
5
 
6
  def __call__(
 
20
 
21
  with block:
22
  with gr.Row():
23
+ gr.HTML("Omdena AI Chatbot For Mental Health and Well Being")
24
+
25
+ with gr.Row():
26
+ label = "WELCOME"
27
  disclaimer = gr.Textbox(
28
  "I am an AI ChatBot and I am here to assist you with whatever is bothering you. "
29
  "Our conversation is strictly confidential and I will not remember it when you come back another time."
 
37
 
38
  gr.Examples(
39
  examples=[
40
+ "I am lonely",
41
  "I'm having problems at home",
42
  "I am jumpy when I hear a loud noise and I feel scared all the time",
43
  ],
44
  inputs=message,
45
  )
46
 
47
+
48
 
49
 
50
  # submit.click(chat, inputs=[message], outputs=[chatbot])