Fixed the function to update
Browse files
app.py
CHANGED
@@ -184,8 +184,9 @@ h1#title {
|
|
184 |
demo = gr.Blocks(css=css)
|
185 |
|
186 |
|
187 |
-
def changing(
|
188 |
-
|
|
|
189 |
|
190 |
|
191 |
|
|
|
184 |
demo = gr.Blocks(css=css)
|
185 |
|
186 |
|
187 |
+
def changing():
|
188 |
+
# https://discuss.huggingface.co/t/how-to-programmatically-enable-or-disable-components/52350/4
|
189 |
+
return gr.Button.update(interactive=True), gr.Button.update(interactive=True)
|
190 |
|
191 |
|
192 |
|