lunadebruyne commited on
Commit
30512d3
·
1 Parent(s): 3afb663

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -156,7 +156,7 @@ def file(input_file, input_checks):
156
  f.close()
157
  if "emotion frequencies" in input_checks:
158
  return gr.update(value=output, visible=True), gr.update(visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False) # next_button_freq becomes available
159
- elif "emotion distribution over time" in input checks:
160
  return gr.update(value=output, visible=True), gr.update(visible=False), gr.update(visible=True), gr.update(visible=False), gr.update(visible=False) # next_button_dist becomes available
161
  elif "peaks" in input_checks:
162
  return gr.update(value=output, visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(visible=True), gr.update(visible=False) # next_button_peaks becomes available
 
156
  f.close()
157
  if "emotion frequencies" in input_checks:
158
  return gr.update(value=output, visible=True), gr.update(visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(visible=False) # next_button_freq becomes available
159
+ elif "emotion distribution over time" in input_checks:
160
  return gr.update(value=output, visible=True), gr.update(visible=False), gr.update(visible=True), gr.update(visible=False), gr.update(visible=False) # next_button_dist becomes available
161
  elif "peaks" in input_checks:
162
  return gr.update(value=output, visible=True), gr.update(visible=False), gr.update(visible=False), gr.update(visible=True), gr.update(visible=False) # next_button_peaks becomes available