haepada commited on
Commit
412dea3
·
verified ·
1 Parent(s): 3e82d0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -360,12 +360,12 @@ def create_interface():
360
  except Exception as e:
361
  return state, f"오류 발생: {str(e)}", "", "", ""
362
 
363
- # 이벤트 연결 부분
364
- analyze_btn.click(
365
- fn=analyze_voice,
366
- inputs=[voice_input, state],
367
- outputs=[state, transcribed_text, voice_emotion, text_emotion, final_prompt]
368
- )
369
 
370
 
371
  set_baseline_btn.click(
 
360
  except Exception as e:
361
  return state, f"오류 발생: {str(e)}", "", "", ""
362
 
363
+ # 이벤트 연결 부분
364
+ analyze_btn.click(
365
+ fn=analyze_voice,
366
+ inputs=[voice_input, state],
367
+ outputs=[state, transcribed_text, voice_emotion, text_emotion, final_prompt]
368
+ )
369
 
370
 
371
  set_baseline_btn.click(