Omnibus commited on
Commit
4571c44
·
1 Parent(s): 085a01a

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +8 -1
dl.py CHANGED
@@ -215,6 +215,10 @@ def show_all_z(author,token):
215
  file_list.append(f'{author}.zip')
216
  yield file_list
217
 
 
 
 
 
218
 
219
  def checkp(p):
220
  if p == o:
@@ -251,7 +255,10 @@ with gr.Blocks() as build:
251
  r_t=gr.Textbox(max_lines=100)
252
  m_t=gr.Textbox(max_lines=100)
253
  uu=gr.Textbox(visible=False)
254
-
 
 
 
255
  show_all_btn1.click(show_all,[r_name,token],files)
256
  show_all_btn2.click(show_all_z,[r_name,token],files)
257
 
 
215
  file_list.append(f'{author}.zip')
216
  yield file_list
217
 
218
+ def pop_buttons(inp):
219
+ for ea in inp:
220
+ outp = gr.Button("ea")
221
+ return gr.update(outp)
222
 
223
  def checkp(p):
224
  if p == o:
 
255
  r_t=gr.Textbox(max_lines=100)
256
  m_t=gr.Textbox(max_lines=100)
257
  uu=gr.Textbox(visible=False)
258
+ test_btn=gr.Button("test button")
259
+ test_col = gr.Column()
260
+
261
+ test_btn.click(pop_buttons,f_name,test_col)
262
  show_all_btn1.click(show_all,[r_name,token],files)
263
  show_all_btn2.click(show_all_z,[r_name,token],files)
264