Spaces:
Runtime error
Runtime error
philipp-zettl
commited on
Commit
•
7db5ef6
1
Parent(s):
f1e7d24
Update app.py
Browse files
app.py
CHANGED
@@ -342,7 +342,7 @@ def new_main():
|
|
342 |
)
|
343 |
with gr.Tab(label='Extract content'):
|
344 |
url = gr.Textbox(label='URL', placeholder='Enter URL here', lines=1, max_lines=1)
|
345 |
-
elem_class = gr.Dropdown(label='CSS element class', choices=['div', 'p', 'span', 'main', 'body'], value='div')
|
346 |
class_name = gr.Dropdown(label='CSS class name', choices=[], allow_custom_value=True)
|
347 |
|
348 |
extract_btn = gr.Button('Extract content')
|
|
|
342 |
)
|
343 |
with gr.Tab(label='Extract content'):
|
344 |
url = gr.Textbox(label='URL', placeholder='Enter URL here', lines=1, max_lines=1)
|
345 |
+
elem_class = gr.Dropdown(label='CSS element class', choices=['div', 'p', 'span', 'main', 'body', 'section', 'main'], value='div')
|
346 |
class_name = gr.Dropdown(label='CSS class name', choices=[], allow_custom_value=True)
|
347 |
|
348 |
extract_btn = gr.Button('Extract content')
|