Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -108,13 +108,16 @@ def list_of_clubs(ort):
|
|
108 |
|
109 |
def process_ort(ort):
|
110 |
links_text = list_of_clubs(ort)
|
111 |
-
return links_text
|
112 |
vereine = []
|
|
|
113 |
for verein in links_text:
|
114 |
prompt=f"impressum {verein}",
|
115 |
result = google_search(prompt)
|
116 |
json_data = llm(result)
|
117 |
-
vereine.append(
|
|
|
|
|
118 |
|
119 |
for verein in links_text:
|
120 |
client = Client("mgokg/gemini-2.0-flash-exp")
|
|
|
108 |
|
109 |
def process_ort(ort):
|
110 |
links_text = list_of_clubs(ort)
|
111 |
+
#return links_text
|
112 |
vereine = []
|
113 |
+
|
114 |
for verein in links_text:
|
115 |
prompt=f"impressum {verein}",
|
116 |
result = google_search(prompt)
|
117 |
json_data = llm(result)
|
118 |
+
vereine.append(json_data)
|
119 |
+
|
120 |
+
return vereine
|
121 |
|
122 |
for verein in links_text:
|
123 |
client = Client("mgokg/gemini-2.0-flash-exp")
|