xp3857 commited on
Commit
7aac00c
·
1 Parent(s): 1494593

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -22
app.py CHANGED
@@ -130,28 +130,28 @@ with gr.Blocks() as build:
130
  pass_box=gr.Textbox()
131
  pass_btn=gr.Button()
132
  with gr.Box(visible=False) as yes:
133
- with gr.Row():
134
- gr.Column(scale=1)
135
- with gr.Column(scale=3):
136
- with gr.Box():
137
- with gr.Row():
138
- r_name = gr.Textbox(label="Repo")
139
- token = gr.Textbox(label="auth")
140
-
141
- with gr.Row():
142
- s_name = gr.Dropdown(label="Spaces", choices=[])
143
- d_app = gr.Dropdown(label="Files", choices=[])
144
- with gr.Row():
145
- s_btn = gr.Button("Show")
146
- l_btn = gr.Button("Load")
147
- with gr.Box():
148
- r_s = gr.Textbox(label="Replace")
149
- r_w = gr.Textbox(label="with:")
150
- r_btn = gr.Button("Replace")
151
- with gr.Column():
152
- inbut = gr.Button("Update Repo")
153
- output_html = gr.HTML("""""")
154
- gr.Column(scale=1)
155
  with gr.Accordion("Files",open=False):
156
  with gr.Tab("Modify"):
157
  files=gr.File()
 
130
  pass_box=gr.Textbox()
131
  pass_btn=gr.Button()
132
  with gr.Box(visible=False) as yes:
133
+ with gr.Row():
134
+ gr.Column(scale=1)
135
+ with gr.Column(scale=3):
136
+ with gr.Box():
137
+ with gr.Row():
138
+ r_name = gr.Textbox(label="Repo")
139
+ token = gr.Textbox(label="auth")
140
+
141
+ with gr.Row():
142
+ s_name = gr.Dropdown(label="Spaces", choices=[])
143
+ d_app = gr.Dropdown(label="Files", choices=[])
144
+ with gr.Row():
145
+ s_btn = gr.Button("Show")
146
+ l_btn = gr.Button("Load")
147
+ with gr.Box():
148
+ r_s = gr.Textbox(label="Replace")
149
+ r_w = gr.Textbox(label="with:")
150
+ r_btn = gr.Button("Replace")
151
+ with gr.Column():
152
+ inbut = gr.Button("Update Repo")
153
+ output_html = gr.HTML("""""")
154
+ gr.Column(scale=1)
155
  with gr.Accordion("Files",open=False):
156
  with gr.Tab("Modify"):
157
  files=gr.File()