Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ def process_image(image):
|
|
12 |
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
13 |
return generated_text
|
14 |
|
15 |
-
title = "
|
16 |
description = "Demo for Microsoft's TrOCR, an encoder-decoder model \
|
17 |
consisting of an image Transformer encoder and a text Transformer \
|
18 |
decoder for state-of-the-art optical character recognition (OCR) on \
|
|
|
12 |
generated_text = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
|
13 |
return generated_text
|
14 |
|
15 |
+
title = "Transformer (encoder-decoder) based Text OCR"
|
16 |
description = "Demo for Microsoft's TrOCR, an encoder-decoder model \
|
17 |
consisting of an image Transformer encoder and a text Transformer \
|
18 |
decoder for state-of-the-art optical character recognition (OCR) on \
|