Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -170,8 +170,8 @@ with gr.Blocks() as demo:
|
|
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}")
|
173 |
-
response.text = response.text.replace("```json", "")
|
174 |
-
response.text = response.text.replace("```", "")
|
175 |
kontakt.append(response.text)
|
176 |
|
177 |
return kontakt
|
|
|
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}")
|
173 |
+
#response.text = response.text.replace("```json", "")
|
174 |
+
#response.text = response.text.replace("```", "")
|
175 |
kontakt.append(response.text)
|
176 |
|
177 |
return kontakt
|