Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
| 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 |
)
|