Spaces:
Running
Running
Pclanglais
commited on
Commit
•
ba05a34
1
Parent(s):
1cc4c4a
Update app.py
Browse files
app.py
CHANGED
@@ -94,7 +94,7 @@ def process_text(user_message):
|
|
94 |
|
95 |
# Define the Gradio interface
|
96 |
with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
97 |
-
gr.HTML("""<h1 style="text-align:center">Vintage OCR corrector</h1>""")
|
98 |
text_input = gr.Textbox(label="Your (bad?) text", type="text", lines=5)
|
99 |
process_button = gr.Button("Process Text")
|
100 |
text_output = gr.HTML(label="Processed text")
|
|
|
94 |
|
95 |
# Define the Gradio interface
|
96 |
with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
97 |
+
gr.HTML("""<h1 style="text-align:center">Vintage OCR corrector (CPU)</h1>""")
|
98 |
text_input = gr.Textbox(label="Your (bad?) text", type="text", lines=5)
|
99 |
process_button = gr.Button("Process Text")
|
100 |
text_output = gr.HTML(label="Processed text")
|