MennatullahHany commited on
Commit
76cd80f
·
verified ·
1 Parent(s): 106407e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,7 +29,8 @@ def predict(audio):
29
  label = label_map[result["label"]]
30
 
31
  return {
32
- "emotion": label,
 
33
  "confidence": round(float(result["score"]), 4)
34
  }
35
 
 
29
  label = label_map[result["label"]]
30
 
31
  return {
32
+ "text":transcription,
33
+ "result": label,
34
  "confidence": round(float(result["score"]), 4)
35
  }
36