Undo some changes to see if I can fix it.
Browse files
app.py
CHANGED
|
@@ -160,9 +160,8 @@ 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 |
-
|
| 164 |
-
|
| 165 |
-
return gr.Button(interactive=True), gr.Button(interactive=True)
|
| 166 |
|
| 167 |
|
| 168 |
|
|
|
|
| 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 |
|