Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,9 @@ def sitemap(url,level):
|
|
56 |
print (e)
|
57 |
return link1
|
58 |
with gr.Blocks() as app:
|
59 |
-
|
60 |
-
|
|
|
61 |
btn=gr.Button()
|
62 |
outp=gr.JSON()
|
63 |
btn.click(sitemap,[inp,level],outp)
|
|
|
56 |
print (e)
|
57 |
return link1
|
58 |
with gr.Blocks() as app:
|
59 |
+
with gr.Row():
|
60 |
+
inp=gr.Textbox(label="URL")
|
61 |
+
level=gr.Slider(minimum=1,maximum=3,step=1,value=2)
|
62 |
btn=gr.Button()
|
63 |
outp=gr.JSON()
|
64 |
btn.click(sitemap,[inp,level],outp)
|