Spaces:
Running
Running
Commit
·
26daae1
1
Parent(s):
32f12b9
Update app.py
Browse files
app.py
CHANGED
@@ -282,10 +282,10 @@ def peaks(output_file, input_checks):
|
|
282 |
'</body>'
|
283 |
'</html>'
|
284 |
)
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
|
290 |
def topics(output_file, input_checks):
|
291 |
output = "Some topics are found."
|
|
|
282 |
'</body>'
|
283 |
'</html>'
|
284 |
)
|
285 |
+
if "topics" in input_checks:
|
286 |
+
return gr.update(value=html, visible=True), gr.update(visible=True) # next_button_topics becomes available
|
287 |
+
else:
|
288 |
+
return gr.update(value=html, visible=True), gr.update(visible=False) # no next_button becomes available
|
289 |
|
290 |
def topics(output_file, input_checks):
|
291 |
output = "Some topics are found."
|