Spaces:
Running
Running
Pclanglais
commited on
Commit
•
b100458
1
Parent(s):
cf17c33
Update app.py
Browse files
app.py
CHANGED
@@ -247,8 +247,8 @@ text_processor = TextProcessor()
|
|
247 |
|
248 |
# Define the Gradio interface
|
249 |
with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
250 |
-
gr.HTML("""<h1 style="text-align:center">
|
251 |
-
text_input = gr.Textbox(label="Your text", type="text", lines=5)
|
252 |
process_button = gr.Button("Process Text")
|
253 |
text_output = gr.HTML(label="Processed text")
|
254 |
process_button.click(text_processor.process, inputs=text_input, outputs=[text_output])
|
|
|
247 |
|
248 |
# Define the Gradio interface
|
249 |
with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
|
250 |
+
gr.HTML("""<h1 style="text-align:center">PleIAs Editor</h1>""")
|
251 |
+
text_input = gr.Textbox(label="Your (bad?) text", type="text", lines=5)
|
252 |
process_button = gr.Button("Process Text")
|
253 |
text_output = gr.HTML(label="Processed text")
|
254 |
process_button.click(text_processor.process, inputs=text_input, outputs=[text_output])
|