Spaces:
Running
Running
Update dl.py
Browse files
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 |
-
|
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], [
|
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)
|