Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def call_search(purpose, task, history, directory, action_input):
|
|
| 77 |
response = i_s(action_input)
|
| 78 |
print(response)
|
| 79 |
history += "observation: search result is: {}\n".format(response)
|
| 80 |
-
|
| 81 |
history += "observation: I need to provide a valid URL to 'action: SEARCH action_input=https://URL'\n"
|
| 82 |
except Exception as e:
|
| 83 |
history += "{}\n".format(line)
|
|
|
|
| 77 |
response = i_s(action_input)
|
| 78 |
print(response)
|
| 79 |
history += "observation: search result is: {}\n".format(response)
|
| 80 |
+
else:
|
| 81 |
history += "observation: I need to provide a valid URL to 'action: SEARCH action_input=https://URL'\n"
|
| 82 |
except Exception as e:
|
| 83 |
history += "{}\n".format(line)
|