chansung commited on
Commit
665b74f
1 Parent(s): 6d6e002

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -158,7 +158,7 @@ async def chat_stream(
158
  search_prompt = None
159
  for tmp_prompt, uis in internet_search(ppm, serper_api_key, global_context, ctx_num_lconv):
160
  search_prompt = tmp_prompt
161
- yield "", uis, prompt, str(res)
162
 
163
  async for result in gen_text(
164
  search_prompt if internet_option else prompt,
 
158
  search_prompt = None
159
  for tmp_prompt, uis in internet_search(ppm, serper_api_key, global_context, ctx_num_lconv):
160
  search_prompt = tmp_prompt
161
+ yield "", prompt, uis, str(res), gr.update(interactive=False)
162
 
163
  async for result in gen_text(
164
  search_prompt if internet_option else prompt,