Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 "",
|
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,
|