Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -401,10 +401,10 @@ def makevisible(text):
|
|
| 401 |
return (
|
| 402 |
None, # model1
|
| 403 |
None, # model2
|
| 404 |
-
gr.
|
| 405 |
-
gr.
|
| 406 |
-
gr.
|
| 407 |
-
gr.
|
| 408 |
)
|
| 409 |
with gr.Blocks() as vote:
|
| 410 |
useridstate = gr.State()
|
|
|
|
| 401 |
return (
|
| 402 |
None, # model1
|
| 403 |
None, # model2
|
| 404 |
+
gr.update(visible=True), # prevmodel1
|
| 405 |
+
gr.update(visible=True), # aud1
|
| 406 |
+
gr.update(visible=True), # prevmodel2
|
| 407 |
+
gr.update(visible=True), # aud2
|
| 408 |
)
|
| 409 |
with gr.Blocks() as vote:
|
| 410 |
useridstate = gr.State()
|