Spaces:
Build error
Build error
add redact
Browse files24 unmodified lines25262728293049 unmodified lines8081828384858624 unmodified lines{"role": "user","content": [TextChunk(text=(f"This is the image's OCR in markdown:\n{processed_output}\n.\n""Convert this into a structured JSON response "49 unmodified linesresponse = chat_response(client, model, message)images=[]images.append(Image.open(BytesIO(requests.get(url).content)))return response.choices[0].message.content, redact_img, ocr_resultcustom_css = """body {font-family: body {font-family: 'Helvetica Neue', Helvetica;}24 unmodified lines2526272829303149 unmodified lines8182838485868724 unmodified lines{"role": "user","content": [ImageURLChunk(image_url=target),TextChunk(text=(f"This is the image's OCR in markdown:\n{processed_output}\n.\n""Convert this into a structured JSON response "49 unmodified linesresponse = chat_response(client, model, message)images=[]images.append(Image.open(BytesIO(requests.get(url).content)))return response.choices[0].message.content, images, ocr_resultcustom_css = """body {font-family: body {font-family: 'Helvetica Neue', Helvetica;}
app.py+2-1