mgokg commited on
Commit
3b3327e
·
verified ·
1 Parent(s): 2795bec

Update app.py

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