Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ def init(filename=filename,save_data=save_data):
|
|
| 29 |
return lod
|
| 30 |
|
| 31 |
|
| 32 |
-
def sort_doc(in_list: list, steps_in: int, control: int, prev_list: str=None):
|
| 33 |
prev_list=init()
|
| 34 |
control_json={'control':'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ','char':'','leng':62}
|
| 35 |
key_cnt=len(in_list)
|
|
@@ -497,5 +497,5 @@ with gr.Blocks() as app:
|
|
| 497 |
with gr.Column(scale=1):
|
| 498 |
outmap=gr.JSON()
|
| 499 |
#test_btn.click(test,None,None)
|
| 500 |
-
btn.click(sitemap,[inp,
|
| 501 |
app.launch()
|
|
|
|
| 29 |
return lod
|
| 30 |
|
| 31 |
|
| 32 |
+
def sort_doc(in_list: list, steps_in: int, control: int=0, prev_list: str=None):
|
| 33 |
prev_list=init()
|
| 34 |
control_json={'control':'0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ','char':'','leng':62}
|
| 35 |
key_cnt=len(in_list)
|
|
|
|
| 497 |
with gr.Column(scale=1):
|
| 498 |
outmap=gr.JSON()
|
| 499 |
#test_btn.click(test,None,None)
|
| 500 |
+
btn.click(sitemap,[inp,level],[outp,outmap,key_json])
|
| 501 |
app.launch()
|