Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|