deepakchawla-cb commited on
Commit
0144580
·
1 Parent(s): 270ccd6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -67,6 +67,7 @@ def inference(audio, sentiment_option):
67
  result = whisper.decode(model, mel, options)
68
 
69
  sentiment_results = analyze_sentiment(result.text)
 
70
  sentiment_output = display_sentiment_results(sentiment_results, sentiment_option)
71
 
72
  return lang.upper(), result.text, sentiment_output
 
67
  result = whisper.decode(model, mel, options)
68
 
69
  sentiment_results = analyze_sentiment(result.text)
70
+ print(result.text)
71
  sentiment_output = display_sentiment_results(sentiment_results, sentiment_option)
72
 
73
  return lang.upper(), result.text, sentiment_output