letrunglinh commited on
Commit
431a527
1 Parent(s): 13db79f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ def get_answer_e2e(question):
56
 
57
  return best_answer
58
 
59
- with gr.Blocks(theme=gr.themes.Soft()) as demo:
60
  gr.Markdown("<h1><center>CHATBOT - I know what you want 💬</center></h1>")
61
  chatbot = gr.Chatbot(show_label=True, value=[[None,'Hi👋,How can i help you?']])
62
  msg = gr.Textbox(label="Question",placeholder="Enter your question and press Enter...")
@@ -78,4 +78,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
78
  )
79
  clear.click(lambda: None, None, chatbot, queue=False)
80
 
81
- demo.launch()
 
56
 
57
  return best_answer
58
 
59
+ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="pink", neutral_hue="slate")) as demo:
60
  gr.Markdown("<h1><center>CHATBOT - I know what you want 💬</center></h1>")
61
  chatbot = gr.Chatbot(show_label=True, value=[[None,'Hi👋,How can i help you?']])
62
  msg = gr.Textbox(label="Question",placeholder="Enter your question and press Enter...")
 
78
  )
79
  clear.click(lambda: None, None, chatbot, queue=False)
80
 
81
+ demo.launch(share=True)