gatesla commited on
Commit
4223f1d
·
verified ·
1 Parent(s): 77696fa

Maybe that wasn't the issue.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -160,9 +160,9 @@ demo = gr.Blocks(css=css)
160
 
161
  def changing():
162
  # https://discuss.huggingface.co/t/how-to-programmatically-enable-or-disable-components/52350/4
163
- return gr.Button.update(interactive=True), gr.Button.update(interactive=True)
164
  # return gr.Button(interactive=True), gr.Button(interactive=True)
165
-
166
 
167
 
168
  with demo:
 
160
 
161
  def changing():
162
  # https://discuss.huggingface.co/t/how-to-programmatically-enable-or-disable-components/52350/4
163
+ # return gr.Button.update(interactive=True), gr.Button.update(interactive=True)
164
  # return gr.Button(interactive=True), gr.Button(interactive=True)
165
+ return gr.Button('Detect'), gr.Button('Detect')
166
 
167
 
168
  with demo: