gabar92 commited on
Commit
91c684b
·
1 Parent(s): d27e245

update logo

Browse files
Files changed (1) hide show
  1. app.py +25 -20
app.py CHANGED
@@ -64,26 +64,31 @@ def main():
64
 
65
  args = parse_arguments()
66
 
67
- description = "Welcome to the Document Image Enhancement (DIE) model demo on Hugging Face!\n\n" \
68
- "" \
69
- "This interactive application showcases a specialized AI model developed by " \
70
- "the [Artificial Intelligence group](https://ai.renyi.hu) at the [Alfréd Rényi Institute of Mathematics](https://renyi.hu).\n\n" \
71
- "" \
72
- "Our DIE model is designed to enhance and restore archival and aged document images " \
73
- "by removing various types of degradation, thereby making historical documents more legible " \
74
- "and suitable for Optical Character Recognition (OCR) processing.\n\n" \
75
- "" \
76
- "The model effectively tackles 20-30 types of domain-specific noise found in historical records, " \
77
- "such as scribbles, bleed-through text, faded or worn text, blurriness, textured noise, " \
78
- "and unwanted background elements. " \
79
- "By applying deep learning techniques, specifically a U-Net-based architecture, " \
80
- "the model accurately cleans and clarifies text while preserving original details. " \
81
- "This improved clarity dramatically boosts OCR accuracy, making it an ideal " \
82
- "pre-processing tool in digitization workflows.\n\n" \
83
- "" \
84
- "If you’re interested in learning more about the model’s capabilities or potential applications, " \
85
- "please contact us at: [email protected].\n" \
86
- "<img src='https://huggingface.co/spaces/renyi-ai/die_demo/blob/main/logo/qr-code.png' width=200px>\n\n"
 
 
 
 
 
87
 
88
  # TODO: Add a description for the Number of DIE iterations parameter!
89
 
 
64
 
65
  args = parse_arguments()
66
 
67
+ description = """
68
+ Welcome to the Document Image Enhancement (DIE) model demo on Hugging Face!\n\n
69
+
70
+ This interactive application showcases a specialized AI model developed by
71
+ the [Artificial Intelligence group](https://ai.renyi.hu) at the [Alfréd Rényi Institute of Mathematics](https://renyi.hu).\n\n
72
+
73
+ Our DIE model is designed to enhance and restore archival and aged document images
74
+ by removing various types of degradation, thereby making historical documents more legible
75
+ and suitable for Optical Character Recognition (OCR) processing.\n\n
76
+
77
+ The model effectively tackles 20-30 types of domain-specific noise found in historical records,
78
+ such as scribbles, bleed-through text, faded or worn text, blurriness, textured noise,
79
+ and unwanted background elements.
80
+ By applying deep learning techniques, specifically a U-Net-based architecture,
81
+ the model accurately cleans and clarifies text while preserving original details.
82
+ This improved clarity dramatically boosts OCR accuracy, making it an ideal
83
+ pre-processing tool in digitization workflows.\n\n
84
+
85
+ If you’re interested in learning more about the model’s capabilities or potential applications,
86
+ please contact us at: gabar92@renyi.hu.\n
87
+
88
+ <img src='https://huggingface.co/spaces/renyi-ai/die_demo/blob/main/logo/qr-code.png' width=200px>\n\n
89
+ <img src="https://huggingface.co/spaces/course-demos/Rick_and_Morty_QA/resolve/main/rick.png" width=200px>
90
+ <img src="https://huggingface.co/spaces/renyi-ai/die_demo/blob/main/logo/qr-code.png" width=200px>
91
+ """
92
 
93
  # TODO: Add a description for the Number of DIE iterations parameter!
94