oberbics commited on
Commit
343cfa2
Β·
verified Β·
1 Parent(s): 7a7ad06

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -337,7 +337,7 @@ def extract_info(template, text):
337
  # Try to parse as JSON
338
  try:
339
  extracted = json.loads(json_text)
340
- return "βœ… Erfolgreich extrahiert", json.dumps(extracted, indent=2)
341
  except json.JSONDecodeError:
342
  return "❌ JSON Parsing Fehler", json_text
343
 
 
337
  # Try to parse as JSON
338
  try:
339
  extracted = json.loads(json_text)
340
+ return "βœ… Erfolgreich extrahiert", json.dumps(extracted, ensure_ascii=False, indent=2)
341
  except json.JSONDecodeError:
342
  return "❌ JSON Parsing Fehler", json_text
343