mgokg commited on
Commit
cdc6113
·
verified ·
1 Parent(s): 77848e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -166,6 +166,13 @@ with gr.Blocks() as demo:
166
  )
167
 
168
 
 
 
 
 
 
 
 
169
 
170
  for verein in links_text:
171
  json_schema ='{"vereinsname": "", "email": "", "adresse": "","telefon": ""}'
 
166
  )
167
 
168
 
169
+ json_schema ='{"vereinsname": "", "email": "", "adresse": "","telefon": ""}'
170
+ response = chat_session.send_message(f"return a valid json object with kontakdaten for each verein \n {links_text}. here is the json schema: {json_schema}")
171
+ #response.text = response.text.replace("```json", "")
172
+ #response.text = response.text.replace("```", "")
173
+ #kontakt.append(response.text)
174
+
175
+ return response.text
176
 
177
  for verein in links_text:
178
  json_schema ='{"vereinsname": "", "email": "", "adresse": "","telefon": ""}'