clarissah commited on
Commit
b5e9f3f
·
verified ·
1 Parent(s): e824b8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -42,6 +42,8 @@ def respond(message, history):
42
 
43
  #return response ['choices'][0]['message']['content'].strip()
44
 
45
- chatbot = gr.ChatInterface(respond, type = "messages") #theme = "shivi/calm_seafoam")
 
 
46
 
47
  chatbot.launch(debug=True)
 
42
 
43
  #return response ['choices'][0]['message']['content'].strip()
44
 
45
+ with gr.Blocks (theme = theme) as chatbot:
46
+ chatbot = gr.ChatInterface(respond, type = "messages")
47
+ #chatbot = gr.ChatInterface(respond, type = "messages") #theme = "shivi/calm_seafoam")
48
 
49
  chatbot.launch(debug=True)