mgokg commited on
Commit
a789a4d
·
verified ·
1 Parent(s): ad51f6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ import pandas
10
  import os
11
 
12
  #api_key = os.getenv('groq')
13
- read_key = os.getenv('HF_TOKEN', None)
14
 
15
  def parse_links_and_content(ort):
16
  base_url = "https://vereine-in-deutschland.net"
@@ -67,7 +67,7 @@ def scrape_links(links):
67
  client = Client("mgokg/PerplexicaApi")
68
  for verein in links:
69
  result = client.predict(
70
- hf_token=read_key,
71
  prompt=f"{verein}",
72
  api_name="/parse_links"
73
  )
 
10
  import os
11
 
12
  #api_key = os.getenv('groq')
13
+ #read_key = os.getenv('HF_TOKEN', None)
14
 
15
  def parse_links_and_content(ort):
16
  base_url = "https://vereine-in-deutschland.net"
 
67
  client = Client("mgokg/PerplexicaApi")
68
  for verein in links:
69
  result = client.predict(
70
+
71
  prompt=f"{verein}",
72
  api_name="/parse_links"
73
  )