rodolphethinks1 commited on
Commit
8cd8cd6
·
verified ·
1 Parent(s): 27371a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -56,9 +56,14 @@ def process_input(html_content):
56
  with gr.Blocks() as interface:
57
  with gr.Column():
58
  gr.Markdown("## HTML Content Parser")
59
- parsed_output = gr.Dataframe(label="Parsed Data")
 
 
 
 
 
60
  parse_button = gr.Button("Parse Content")
61
- html_input = gr.Textbox(label="Paste HTML Content", lines=10, placeholder="Paste your HTML content here...")
62
 
63
  parse_button.click(fn=process_input, inputs=html_input, outputs=parsed_output)
64
 
 
56
  with gr.Blocks() as interface:
57
  with gr.Column():
58
  gr.Markdown("## HTML Content Parser")
59
+ html_input = gr.Textbox(
60
+ label="Paste HTML Content",
61
+ placeholder="Paste your HTML content here...",
62
+ lines=5, # Restrict initial height
63
+ max_lines=10 # Maximum height before scrolling
64
+ )
65
  parse_button = gr.Button("Parse Content")
66
+ parsed_output = gr.Dataframe(label="Parsed Data")
67
 
68
  parse_button.click(fn=process_input, inputs=html_input, outputs=parsed_output)
69