nclbond commited on
Commit
fb59308
·
verified ·
1 Parent(s): e2a6627

added theme accurately

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -90,7 +90,7 @@ Answer using the context above."""
90
 
91
  return response.choices[0].message.content.strip()
92
 
 
 
93
 
94
- chatbot = gr.ChatInterface(respond, theme=gr.themes.Soft())
95
-
96
- chatbot.launch()
 
90
 
91
  return response.choices[0].message.content.strip()
92
 
93
+ with gr.Blocks(theme=gr.themes.Soft()) as demo:
94
+ chatbot = gr.ChatInterface(respond)
95
 
96
+ demo.launch()