YchKhan Game4all commited on
Commit
c7c8a2c
·
verified ·
1 Parent(s): 60a5076

Migrate SERPent endpoints (#1)

Browse files

- Migrate SERPent endpoints (94b9cd34a465d1014ef6759e1b5d6a76f054ae55)


Co-authored-by: Lucas A <[email protected]>

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