Spaces:
Running
Running
Update dl.py
Browse files
dl.py
CHANGED
@@ -149,19 +149,17 @@ with gr.Blocks() as build:
|
|
149 |
with gr.Row():
|
150 |
gr.Column(scale=1)
|
151 |
with gr.Column(scale=3):
|
152 |
-
with gr.
|
153 |
with gr.Row():
|
154 |
r_name = gr.Textbox(label="Repo")
|
155 |
token = gr.Textbox(label="auth")
|
|
|
156 |
with gr.Row():
|
157 |
s_name = gr.Dropdown(label="Spaces", choices=[])
|
158 |
d_app = gr.Dropdown(label="Files", choices=[])
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
with gr.Column():
|
163 |
-
show_all_btn1 = gr.Button("Load All 1")
|
164 |
-
show_all_btn2 = gr.Button("Load All 2")
|
165 |
|
166 |
gr.Column(scale=1)
|
167 |
files=gr.File(file_count="directory")
|
|
|
149 |
with gr.Row():
|
150 |
gr.Column(scale=1)
|
151 |
with gr.Column(scale=3):
|
152 |
+
with gr.Group():
|
153 |
with gr.Row():
|
154 |
r_name = gr.Textbox(label="Repo")
|
155 |
token = gr.Textbox(label="auth")
|
156 |
+
s_btn = gr.Button("Show")
|
157 |
with gr.Row():
|
158 |
s_name = gr.Dropdown(label="Spaces", choices=[])
|
159 |
d_app = gr.Dropdown(label="Files", choices=[])
|
160 |
+
l_btn = gr.Button("Load Space")
|
161 |
+
show_all_btn1 = gr.Button("Load All 1")
|
162 |
+
show_all_btn2 = gr.Button("Load All 2")
|
|
|
|
|
|
|
163 |
|
164 |
gr.Column(scale=1)
|
165 |
files=gr.File(file_count="directory")
|