NCTCMumbai commited on
Commit
a9ee3e9
·
verified ·
1 Parent(s): f6bde6b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -52,7 +52,7 @@ def add_text(history, text):
52
 
53
  def bot(history, api_kind):
54
  top_rerank = 15
55
- top_k_rank = 10
56
  query = history[-1][0]
57
  print('history[-1][0]',history[-1][0])
58
  print('api kind ',api_kind)
@@ -122,7 +122,7 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
122
  # Beautiful heading with logo
123
  gr.HTML(value="""
124
  <div style="display: flex; align-items: center; justify-content: space-between;">
125
- <h1 style="color: #008000">ADWITIYA - <span style="color: #008000">Customs Manual Chatbot(UNDER MAINTENANCE..WILL BE BACK SOON)</span></h1>
126
  <img src='logo.png' alt="Chatbot" width="50" height="50" />
127
  </div>
128
  """, elem_id="heading")
 
52
 
53
  def bot(history, api_kind):
54
  top_rerank = 15
55
+ top_k_rank = 8
56
  query = history[-1][0]
57
  print('history[-1][0]',history[-1][0])
58
  print('api kind ',api_kind)
 
122
  # Beautiful heading with logo
123
  gr.HTML(value="""
124
  <div style="display: flex; align-items: center; justify-content: space-between;">
125
+ <h1 style="color: #008000">ADWITIYA - <span style="color: #008000">Customs Manual Chatbot(UNDER MAINTENANCE)</span></h1>
126
  <img src='logo.png' alt="Chatbot" width="50" height="50" />
127
  </div>
128
  """, elem_id="heading")