gwkrsrch commited on
Commit
81add38
1 Parent(s): 0f1b500

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -16,7 +16,6 @@ def demo_process(input_img):
16
  output = pretrained_model.inference(image=input_img, prompt=task_prompt)["predictions"][0]
17
  return output["text_sequence"].replace(" ", "") # temp
18
 
19
-
20
  task_prompt = f"<s_kuzushiji>"
21
  pretrained_model = DonutModel.from_pretrained("naver-clova-ix/donut-base-finetuned-kuzushiji")
22
  pretrained_model.eval()
 
16
  output = pretrained_model.inference(image=input_img, prompt=task_prompt)["predictions"][0]
17
  return output["text_sequence"].replace(" ", "") # temp
18
 
 
19
  task_prompt = f"<s_kuzushiji>"
20
  pretrained_model = DonutModel.from_pretrained("naver-clova-ix/donut-base-finetuned-kuzushiji")
21
  pretrained_model.eval()