Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,8 +2,6 @@ import gradio as gr
|
|
2 |
|
3 |
gr.HTML("Omdena AI Chatbot For Mental Health and Well Being")
|
4 |
|
5 |
-
chatbot = gr.Chatbot()
|
6 |
-
chat = ChatWrapper()
|
7 |
|
8 |
class ChatWrapper:
|
9 |
|
@@ -15,6 +13,9 @@ class ChatWrapper:
|
|
15 |
history.append((inp, output))
|
16 |
return history, history
|
17 |
|
|
|
|
|
|
|
18 |
|
19 |
block = gr.Blocks(css=".gradio-container {background-color: gray}")
|
20 |
|
|
|
2 |
|
3 |
gr.HTML("Omdena AI Chatbot For Mental Health and Well Being")
|
4 |
|
|
|
|
|
5 |
|
6 |
class ChatWrapper:
|
7 |
|
|
|
13 |
history.append((inp, output))
|
14 |
return history, history
|
15 |
|
16 |
+
chatbot = gr.Chatbot()
|
17 |
+
|
18 |
+
chat = ChatWrapper()
|
19 |
|
20 |
block = gr.Blocks(css=".gradio-container {background-color: gray}")
|
21 |
|