Update app.py
Browse files
app.py
CHANGED
@@ -109,7 +109,7 @@ def sort_doc(in_list: list, steps_in: int, control: int, prev_list: str=None):
|
|
109 |
out_js=""
|
110 |
for iii,j in enumerate(step_cont_box):
|
111 |
#print(j)
|
112 |
-
out_js = out_js+control_char[
|
113 |
json_out[out_js]=in_list[i]
|
114 |
big_cnt+=1
|
115 |
if big_cnt==key_cnt:
|
@@ -496,6 +496,6 @@ with gr.Blocks() as app:
|
|
496 |
outp=gr.JSON()
|
497 |
with gr.Column(scale=1):
|
498 |
outmap=gr.JSON()
|
499 |
-
test_btn.click(test,None,None)
|
500 |
btn.click(sitemap,[inp,file_state,level],[outp,outmap,key_json])
|
501 |
app.launch()
|
|
|
109 |
out_js=""
|
110 |
for iii,j in enumerate(step_cont_box):
|
111 |
#print(j)
|
112 |
+
out_js = out_js+control_char[iii]
|
113 |
json_out[out_js]=in_list[i]
|
114 |
big_cnt+=1
|
115 |
if big_cnt==key_cnt:
|
|
|
496 |
outp=gr.JSON()
|
497 |
with gr.Column(scale=1):
|
498 |
outmap=gr.JSON()
|
499 |
+
#test_btn.click(test,None,None)
|
500 |
btn.click(sitemap,[inp,file_state,level],[outp,outmap,key_json])
|
501 |
app.launch()
|