Commit
•
4b0b44b
1
Parent(s):
084e0c6
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ def swap_text(option, base):
|
|
52 |
freeze_for = 70
|
53 |
#show_prior_preservation = True if base != "v2-768" else False
|
54 |
show_prior_preservation=False
|
55 |
-
|
56 |
prior_preservation_box_update = gr.update(visible=show_prior_preservation)
|
57 |
else:
|
58 |
prior_preservation_box_update = gr.update(visible=show_prior_preservation, value=False)
|
|
|
52 |
freeze_for = 70
|
53 |
#show_prior_preservation = True if base != "v2-768" else False
|
54 |
show_prior_preservation=False
|
55 |
+
if(show_prior_preservation):
|
56 |
prior_preservation_box_update = gr.update(visible=show_prior_preservation)
|
57 |
else:
|
58 |
prior_preservation_box_update = gr.update(visible=show_prior_preservation, value=False)
|