Spaces:
Running
Running
Update chatbot.py
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
@@ -263,7 +263,7 @@ def model_inference( user_prompt, chat_history):
|
|
263 |
json_data = json.loads(str(response))
|
264 |
if json_data["name"] == "web_search":
|
265 |
query = json_data["arguments"]["query"]
|
266 |
-
|
267 |
gr.Info("Searching Web")
|
268 |
yield "Searching Web"
|
269 |
web_results = search(query)
|
|
|
263 |
json_data = json.loads(str(response))
|
264 |
if json_data["name"] == "web_search":
|
265 |
query = json_data["arguments"]["query"]
|
266 |
+
|
267 |
gr.Info("Searching Web")
|
268 |
yield "Searching Web"
|
269 |
web_results = search(query)
|