Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with gr.Blocks() as demo:
|
|
143 |
|
144 |
def process_ort(ort):
|
145 |
links_text, links = parse_links_and_content(ort)
|
146 |
-
return links_text
|
147 |
kontakt = []
|
148 |
|
149 |
# Create the model
|
@@ -166,7 +166,7 @@ with gr.Blocks() as demo:
|
|
166 |
)
|
167 |
|
168 |
|
169 |
-
|
170 |
for verein in links_text:
|
171 |
json_schema ='{"vereinsname": "", "email": "", "adresse": "","telefon": ""}'
|
172 |
response = chat_session.send_message(f"return a valid json object with kontakdaten für {verein}. here is the json schema: {json_schema}")
|
|
|
143 |
|
144 |
def process_ort(ort):
|
145 |
links_text, links = parse_links_and_content(ort)
|
146 |
+
#return links_text
|
147 |
kontakt = []
|
148 |
|
149 |
# Create the model
|
|
|
166 |
)
|
167 |
|
168 |
|
169 |
+
|
170 |
for verein in links_text:
|
171 |
json_schema ='{"vereinsname": "", "email": "", "adresse": "","telefon": ""}'
|
172 |
response = chat_session.send_message(f"return a valid json object with kontakdaten für {verein}. here is the json schema: {json_schema}")
|