Migrate SERPent endpoints

#1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ def ask_ollama(user_message, model='llama-3.3-70b-versatile', system_prompt=sear
185
  # Using Brave Search API
186
  def search_web(topic, max_references=5, data_type="pdf"):
187
  """Search the web using the Brave API and return results."""
188
- url = "https://game4all-serpent.hf.space/search"
189
  payload = {
190
  "queries": [topic],
191
  "n_results": max_references
 
185
  # Using Brave Search API
186
  def search_web(topic, max_references=5, data_type="pdf"):
187
  """Search the web using the Brave API and return results."""
188
+ url = "https://organizedprogrammers-serpent.hf.space/serp/search"
189
  payload = {
190
  "queries": [topic],
191
  "n_results": max_references