JUNGU commited on
Commit
15448c9
โ€ข
1 Parent(s): 6107263

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def extract_and_summarize(image):
31
  {
32
  "role": "user",
33
  "content": [
34
- {"type": "text", "text": "Here is an image of a document. Please summarize its content just one sentence. ๋ฐ˜๋“œ์‹œ ํ•œ๊ตญ์–ด๋กœ ์‘๋‹ตํ•ด์ค˜"},
35
  {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{image_base64}"}}
36
  ]
37
  }
 
31
  {
32
  "role": "user",
33
  "content": [
34
+ {"type": "text", "text": "์—ฌ๊ธฐ ์ด๋ฏธ์ง€๋กœ ๋œ ๋ฌธ์„œ๊ฐ€ ์žˆ์–ด. ๋ฌธ์„œ๋ฅผ ๋ณด๊ณ  ๋‚ด์šฉ์„ 3์ค„๋กœ ์š”์•ฝํ•ด. ์ œ์ถœํ•ด์•ผํ•˜๋Š” ๋ฌธ์„œ์˜ ๊ฒฝ์šฐ ์ œ์ถœ ๊ธฐ๊ฐ„๊ณผ ๋ฐฉ๋ฒ•์„ ๋ฐ˜๋“œ์‹œ ํฌํ•จํ•ด"},
35
  {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{image_base64}"}}
36
  ]
37
  }