Omnibus commited on
Commit
2ebb128
1 Parent(s): cb52c31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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[j]
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()