chansung commited on
Commit
c205d24
1 Parent(s): 13272b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,7 +88,7 @@ async def chat_stream(
88
  }
89
  ):
90
  ppm.append_pong(result)
91
- yield ppm.build_uis(), str(res)
92
 
93
  def channel_num(btn_title):
94
  choice = 0
@@ -247,7 +247,7 @@ with gr.Blocks(css=MODEL_SELECTION_CSS, theme='gradio/soft') as demo:
247
  chat_stream,
248
  [idx, local_data, instruction_txtbox, chat_state,
249
  global_context, res_temp, res_topk, res_rpen, res_mnts, res_sample, ctx_num_lconv],
250
- [chatbot, local_data]
251
  )
252
 
253
  for btn in channel_btns:
 
88
  }
89
  ):
90
  ppm.append_pong(result)
91
+ yield prompt, ppm.build_uis(), str(res)
92
 
93
  def channel_num(btn_title):
94
  choice = 0
 
247
  chat_stream,
248
  [idx, local_data, instruction_txtbox, chat_state,
249
  global_context, res_temp, res_topk, res_rpen, res_mnts, res_sample, ctx_num_lconv],
250
+ [context_inspector, chatbot, local_data]
251
  )
252
 
253
  for btn in channel_btns: