chansung commited on
Commit
beb5a78
1 Parent(s): 5f68e67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -156,7 +156,7 @@ async def chat_stream(
156
  prompt = build_prompts(ppm, global_context, ctx_num_lconv)
157
 
158
  #######
159
- if internet_option:
160
  search_prompt = None
161
  for tmp_prompt, uis in internet_search(ppm, serper_api_key, global_context, ctx_num_lconv):
162
  search_prompt = tmp_prompt
 
156
  prompt = build_prompts(ppm, global_context, ctx_num_lconv)
157
 
158
  #######
159
+ if internet_option == "on":
160
  search_prompt = None
161
  for tmp_prompt, uis in internet_search(ppm, serper_api_key, global_context, ctx_num_lconv):
162
  search_prompt = tmp_prompt