Omnibus commited on
Commit
3f6fad2
·
1 Parent(s): 5ce820e

Update dl.py

Browse files
Files changed (1) hide show
  1. dl.py +2 -2
dl.py CHANGED
@@ -163,7 +163,7 @@ with gr.Blocks() as build:
163
  s_btn = gr.Button("Show Spaces")
164
  with gr.Row():
165
  s_name = gr.Dropdown(label="Spaces", choices=[])
166
- d_app = gr.Dropdown(label="Files", choices=[])
167
  with gr.Row():
168
  l_btn = gr.Button("Load Space")
169
  with gr.Row():
@@ -183,7 +183,7 @@ with gr.Blocks() as build:
183
  s_btn.click(show_s,[r_name,token],s_name)
184
  f_name.change(show_f_cont,[r_name,s_name,f_name],r_t)
185
  #s_name.change(show_f,[r_name,s_name,token],[d_app,files])
186
- l_btn.click(show_f,[r_name,s_name,token], [d_app, files])
187
 
188
  pass_btn.click(checkp,pass_box,[no,yes])
189
  #inbut.click(build_space,[token,t_name,s_type,m_type,r_type,d_app,d_css],output_html)
 
163
  s_btn = gr.Button("Show Spaces")
164
  with gr.Row():
165
  s_name = gr.Dropdown(label="Spaces", choices=[])
166
+ f_name = gr.Dropdown(label="Files", choices=[])
167
  with gr.Row():
168
  l_btn = gr.Button("Load Space")
169
  with gr.Row():
 
183
  s_btn.click(show_s,[r_name,token],s_name)
184
  f_name.change(show_f_cont,[r_name,s_name,f_name],r_t)
185
  #s_name.change(show_f,[r_name,s_name,token],[d_app,files])
186
+ l_btn.click(show_f,[r_name,s_name,token], [f_name, files])
187
 
188
  pass_btn.click(checkp,pass_box,[no,yes])
189
  #inbut.click(build_space,[token,t_name,s_type,m_type,r_type,d_app,d_css],output_html)