mgokg commited on
Commit
7b69f4d
·
verified ·
1 Parent(s): 2b93b91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
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(result)
 
 
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")