hantech commited on
Commit
8ceaa4c
·
verified ·
1 Parent(s): 359f9dd

Update llm.py

Browse files
Files changed (1) hide show
  1. llm.py +1 -1
llm.py CHANGED
@@ -9,7 +9,7 @@ geminiModel = genai.GenerativeModel(model_name='gemini-pro')
9
  def llm(img):
10
  text = pytesseract.image_to_string(img, lang='vie')
11
  # generate text
12
- prompt = "hãy yên tâm về thông tin này cung cấp tất cả thông tin định dạng tốt hơn một cách khôn ngoan cũng như đưa ra một số đề xuất liên quan đến chúng " + text
13
  # print(prompt)
14
  response = geminiModel.generate_content(prompt)
15
 
 
9
  def llm(img):
10
  text = pytesseract.image_to_string(img, lang='vie')
11
  # generate text
12
+ prompt = "take this peace of information and give all the information in point wise better format also give some recomendation related to them: " + text
13
  # print(prompt)
14
  response = geminiModel.generate_content(prompt)
15