Spaces:
Sleeping
Sleeping
Change default rule
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ with gr.Blocks() as demo:
|
|
21 |
with gr.Row():
|
22 |
start_index = gr.Number(label="start_page",value=0)
|
23 |
end_index = gr.Number(label="end_page",value=0)
|
24 |
-
text_rule = gr.Textbox(label="rule", value='sub.replace("
|
25 |
submit = gr.Button(value="submit")
|
26 |
text_output = gr.Textbox(interactive=True)
|
27 |
|
|
|
21 |
with gr.Row():
|
22 |
start_index = gr.Number(label="start_page",value=0)
|
23 |
end_index = gr.Number(label="end_page",value=0)
|
24 |
+
text_rule = gr.Textbox(label="rule", value='sub.replace(" ", " ");')
|
25 |
submit = gr.Button(value="submit")
|
26 |
text_output = gr.Textbox(interactive=True)
|
27 |
|