Spaces:
Running
on
Zero
Running
on
Zero
"Next round" always enabled as a skip button => #22
Browse files- app/sample_caching.py +1 -1
- app/synth.py +1 -1
app/sample_caching.py
CHANGED
@@ -154,7 +154,7 @@ def give_cached_sample(session_hash: str, autoplay: bool, request: gr.Request):
|
|
154 |
gr.update(visible=True, interactive=False), #bbetter
|
155 |
gr.update(visible=False), #prevmodel1
|
156 |
gr.update(visible=False), #prevmodel2
|
157 |
-
gr.update(visible=
|
158 |
# reset aplayed, bplayed audio playback events
|
159 |
False, #aplayed
|
160 |
False, #bplayed
|
|
|
154 |
gr.update(visible=True, interactive=False), #bbetter
|
155 |
gr.update(visible=False), #prevmodel1
|
156 |
gr.update(visible=False), #prevmodel2
|
157 |
+
gr.update(visible=True), #nxt round btn
|
158 |
# reset aplayed, bplayed audio playback events
|
159 |
False, #aplayed
|
160 |
False, #bplayed
|
app/synth.py
CHANGED
@@ -326,7 +326,7 @@ def synthandreturn(text, autoplay, request: gr.Request):
|
|
326 |
gr.update(visible=True, interactive=False), #bbetter
|
327 |
gr.update(visible=False), #prevmodel1
|
328 |
gr.update(visible=False), #prevmodel2
|
329 |
-
gr.update(visible=
|
330 |
# reset gr.State aplayed & bplayed
|
331 |
False, #aplayed
|
332 |
False, #bplayed
|
|
|
326 |
gr.update(visible=True, interactive=False), #bbetter
|
327 |
gr.update(visible=False), #prevmodel1
|
328 |
gr.update(visible=False), #prevmodel2
|
329 |
+
gr.update(visible=True), #nxt round btn
|
330 |
# reset gr.State aplayed & bplayed
|
331 |
False, #aplayed
|
332 |
False, #bplayed
|