haepada commited on
Commit
17d4907
·
verified ·
1 Parent(s): d753761

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -691,7 +691,7 @@ def create_interface():
691
  gr.update(visible=True),
692
  gr.update(visible=False)
693
  )
694
-
695
  # 감정 분석
696
  baseline_emotion = map_acoustic_to_emotion(features)
697
 
@@ -724,7 +724,6 @@ def create_interface():
724
  gr.update(visible=True),
725
  gr.update(visible=False)
726
  )
727
-
728
 
729
  # 4단계: 굿판 입장 안내
730
  entry_guide_section = gr.Column(visible=False)
@@ -829,6 +828,7 @@ def create_interface():
829
  💫 여러분의 소원은 11월 25일 온천천 벽면에 설치될 소원나무에 전시될 예정입니다.
830
  따뜻한 마음을 담아 작성해주세요.
831
  """)
 
832
  wishes_display = gr.Dataframe(
833
  headers=["시간", "소원", "이름"],
834
  label="기록된 소원들",
@@ -1043,9 +1043,10 @@ def create_interface():
1043
  save_final_btn.click(
1044
  fn=handle_save_wish,
1045
  inputs=[final_reflection, state],
1046
- outputs=[state, baseline_status, wishes_display]
1047
  )
1048
 
 
1049
  return app
1050
 
1051
  if __name__ == "__main__":
 
691
  gr.update(visible=True),
692
  gr.update(visible=False)
693
  )
694
+
695
  # 감정 분석
696
  baseline_emotion = map_acoustic_to_emotion(features)
697
 
 
724
  gr.update(visible=True),
725
  gr.update(visible=False)
726
  )
 
727
 
728
  # 4단계: 굿판 입장 안내
729
  entry_guide_section = gr.Column(visible=False)
 
828
  💫 여러분의 소원은 11월 25일 온천천 벽면에 설치될 소원나무에 전시될 예정입니다.
829
  따뜻한 마음을 담아 작성해주세요.
830
  """)
831
+ status_message = gr.Markdown("")
832
  wishes_display = gr.Dataframe(
833
  headers=["시간", "소원", "이름"],
834
  label="기록된 소원들",
 
1043
  save_final_btn.click(
1044
  fn=handle_save_wish,
1045
  inputs=[final_reflection, state],
1046
+ outputs=[state, status_message, wishes_display]
1047
  )
1048
 
1049
+
1050
  return app
1051
 
1052
  if __name__ == "__main__":