Spaces:
Sleeping
Sleeping
Update dl.py
Browse files
dl.py
CHANGED
|
@@ -236,8 +236,11 @@ with gr.Blocks(css=css) as build:
|
|
| 236 |
with gr.Box(visible=True) as yes:
|
| 237 |
with gr.Box():
|
| 238 |
with gr.Row():
|
| 239 |
-
|
| 240 |
-
|
|
|
|
|
|
|
|
|
|
| 241 |
with gr.Tab("View 1"):
|
| 242 |
with gr.Row():
|
| 243 |
with gr.Column(scale=1):
|
|
@@ -251,9 +254,6 @@ with gr.Blocks(css=css) as build:
|
|
| 251 |
with gr.Row():
|
| 252 |
with gr.Column(scale=2):
|
| 253 |
with gr.Group():
|
| 254 |
-
|
| 255 |
-
with gr.Row():
|
| 256 |
-
s_btn = gr.Button("Show Spaces")
|
| 257 |
with gr.Row():
|
| 258 |
s_name = gr.Dropdown(label="Spaces", choices=[])
|
| 259 |
f_name = gr.Dropdown(label="Files", choices=[])
|
|
@@ -280,7 +280,7 @@ with gr.Blocks(css=css) as build:
|
|
| 280 |
|
| 281 |
#s_name.change(show_f,[r_name,s_name,token],[d_app,files])
|
| 282 |
space_radio.change(show_f,[r_name,space_radio,token],[f_name, files,file_radio])
|
| 283 |
-
file_radio.change(show_f_cont,[r_name,s_name,file_radio],[file_contents])
|
| 284 |
|
| 285 |
pass_btn.click(checkp,pass_box,[no,yes])
|
| 286 |
#inbut.click(build_space,[token,t_name,s_type,m_type,r_type,d_app,d_css],output_html)
|
|
|
|
| 236 |
with gr.Box(visible=True) as yes:
|
| 237 |
with gr.Box():
|
| 238 |
with gr.Row():
|
| 239 |
+
with gr.Column():
|
| 240 |
+
r_name = gr.Textbox(label="Repo")
|
| 241 |
+
token = gr.Textbox(label="auth")
|
| 242 |
+
s_btn = gr.Button("Show Spaces")
|
| 243 |
+
gr.Column()
|
| 244 |
with gr.Tab("View 1"):
|
| 245 |
with gr.Row():
|
| 246 |
with gr.Column(scale=1):
|
|
|
|
| 254 |
with gr.Row():
|
| 255 |
with gr.Column(scale=2):
|
| 256 |
with gr.Group():
|
|
|
|
|
|
|
|
|
|
| 257 |
with gr.Row():
|
| 258 |
s_name = gr.Dropdown(label="Spaces", choices=[])
|
| 259 |
f_name = gr.Dropdown(label="Files", choices=[])
|
|
|
|
| 280 |
|
| 281 |
#s_name.change(show_f,[r_name,s_name,token],[d_app,files])
|
| 282 |
space_radio.change(show_f,[r_name,space_radio,token],[f_name, files,file_radio])
|
| 283 |
+
file_radio.change(show_f_cont,[r_name,s_name,file_radio,token],[file_contents])
|
| 284 |
|
| 285 |
pass_btn.click(checkp,pass_box,[no,yes])
|
| 286 |
#inbut.click(build_space,[token,t_name,s_type,m_type,r_type,d_app,d_css],output_html)
|