darkc0de commited on
Commit
9c540b6
·
verified ·
1 Parent(s): a2b44ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,9 +38,9 @@ def respond(message, history):
38
 
39
 
40
 
41
- with gr.Blocks() as demo:
42
  gr.ChatInterface(respond, chatbot=gr.Chatbot(height=800))
43
- gr.Blocks(theme=gr.themes.Soft())
44
 
45
  if __name__ == "__main__":
46
  demo.launch(show_api=True, share=False)
 
38
 
39
 
40
 
41
+ with gr.Blocks(theme=gr.themes.Soft()) as demo:
42
  gr.ChatInterface(respond, chatbot=gr.Chatbot(height=800))
43
+
44
 
45
  if __name__ == "__main__":
46
  demo.launch(show_api=True, share=False)