Spaces:
Running
Running
Update dl.py
Browse files
dl.py
CHANGED
@@ -128,7 +128,7 @@ with gr.Blocks() as build:
|
|
128 |
with gr.Row():
|
129 |
s_btn = gr.Button("Show")
|
130 |
l_btn = gr.Button("Load")
|
131 |
-
show_all_btn = gr.Button("
|
132 |
gr.Column(scale=1)
|
133 |
files=gr.File(file_count="directory")
|
134 |
with gr.Row():
|
@@ -138,9 +138,9 @@ with gr.Blocks() as build:
|
|
138 |
|
139 |
show_all_btn.click(show_all,[r_name,token],files)
|
140 |
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
|
145 |
pass_btn.click(checkp,pass_box,[no,yes])
|
146 |
#inbut.click(build_space,[token,t_name,s_type,m_type,r_type,d_app,d_css],output_html)
|
|
|
128 |
with gr.Row():
|
129 |
s_btn = gr.Button("Show")
|
130 |
l_btn = gr.Button("Load")
|
131 |
+
show_all_btn = gr.Button("Load All")
|
132 |
gr.Column(scale=1)
|
133 |
files=gr.File(file_count="directory")
|
134 |
with gr.Row():
|
|
|
138 |
|
139 |
show_all_btn.click(show_all,[r_name,token],files)
|
140 |
|
141 |
+
s_btn.click(show_s,[r_name,token],s_name)
|
142 |
+
s_name.change(show_f,[r_name,s_name,token],[d_app,files])
|
143 |
+
l_btn.click(show_f,[r_name,s_name,token], [d_app, files])
|
144 |
|
145 |
pass_btn.click(checkp,pass_box,[no,yes])
|
146 |
#inbut.click(build_space,[token,t_name,s_type,m_type,r_type,d_app,d_css],output_html)
|