Spaces:
Runtime error
Runtime error
philipp-zettl
commited on
Commit
•
f1e7d24
1
Parent(s):
6e658c0
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'], 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'], value='div')
|
346 |
class_name = gr.Dropdown(label='CSS class name', choices=[], allow_custom_value=True)
|
347 |
|
348 |
extract_btn = gr.Button('Extract content')
|