lisaude0512 commited on
Commit
00002ef
·
verified ·
1 Parent(s): db21f38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -20,6 +20,19 @@ def respond(message, history):
20
  token = messages.choices[0].delta.content
21
  response+= token
22
  yield response
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  chatbot = gr.ChatInterface(respond, type = "messages")
25
  chatbot.launch(debug=True)
 
20
  token = messages.choices[0].delta.content
21
  response+= token
22
  yield response
23
+
24
+ theme = gr.themes.Soft(
25
+ primary_500="rose",
26
+ secondary_300="zinc",
27
+ neutral_600="pink",
28
+ )
29
+
30
+ with gr.Blocks(theme=theme) as demo:
31
+ chatbot = gr.ChatInterface(
32
+ fn=respond,
33
+ type='messages',
34
+ title="Hi! I'm Nessie, your personal wellness assistant. What can I assist you with today?",
35
+ )
36
 
37
  chatbot = gr.ChatInterface(respond, type = "messages")
38
  chatbot.launch(debug=True)