xp3857 commited on
Commit
2359485
·
1 Parent(s): cc054f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -145,7 +145,7 @@ with gr.Blocks() as build:
145
  r_w = gr.Textbox(label="with:")
146
  r_btn = gr.Button("Replace")
147
  with gr.Column():
148
- inbut = gr.Button()
149
  output_html = gr.HTML("""""")
150
  gr.Column(scale=1)
151
  files=gr.File()
@@ -154,6 +154,12 @@ with gr.Blocks() as build:
154
  m_t=gr.Textbox(max_lines=100)
155
  uu=gr.Textbox(visible=False)
156
 
 
 
 
 
 
 
157
  s_btn.click(show_s,r_name,s_name)
158
  s_name.change(show_f,[r_name,s_name],d_app)
159
 
 
145
  r_w = gr.Textbox(label="with:")
146
  r_btn = gr.Button("Replace")
147
  with gr.Column():
148
+ inbut = gr.Button("Update Repo")
149
  output_html = gr.HTML("""""")
150
  gr.Column(scale=1)
151
  files=gr.File()
 
154
  m_t=gr.Textbox(max_lines=100)
155
  uu=gr.Textbox(visible=False)
156
 
157
+ def cyc(x):
158
+ return x,None
159
+
160
+
161
+ r_t.change(cyc,r_t,[m_t,files])
162
+
163
  s_btn.click(show_s,r_name,s_name)
164
  s_name.change(show_f,[r_name,s_name],d_app)
165