rairo commited on
Commit
535e1c8
·
verified ·
1 Parent(s): 69b9c28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -29,7 +29,7 @@ graph_config = {
29
 
30
 
31
  def get_data(url):
32
- smart_scraper_graph = SearchGraph(
33
  prompt=(
34
  "List me all grants or funds with: "
35
  "- Grant name/title\n"
@@ -42,7 +42,7 @@ def get_data(url):
42
  "- Eligibility criteria\n"
43
  "Return in JSON format."
44
  ),
45
- #source=url,
46
  config=graph_config,
47
  )
48
  return smart_scraper_graph.run()
 
29
 
30
 
31
  def get_data(url):
32
+ smart_scraper_graph = SmartScraperGraph(
33
  prompt=(
34
  "List me all grants or funds with: "
35
  "- Grant name/title\n"
 
42
  "- Eligibility criteria\n"
43
  "Return in JSON format."
44
  ),
45
+ source=url,
46
  config=graph_config,
47
  )
48
  return smart_scraper_graph.run()