Spaces:
jfforero
/
Runtime error

jfforero commited on
Commit
43b4de4
·
verified ·
1 Parent(s): 867ad7f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -44,6 +44,10 @@ def predict_emotion_from_audio(wav_filepath):
44
  print("Error predicting emotion:", e)
45
  return None
46
 
 
 
 
 
47
  # Predict emotion from audio
48
  def get_predictions(audio_input):
49
  emotion_prediction = predict_emotion_from_audio(audio_input)
 
44
  print("Error predicting emotion:", e)
45
  return None
46
 
47
+
48
+ # Define the API key for DeepAI Text to Image API
49
+ api_key = 'dee3e3f2-d5cf-474c-8072-bd6bea47e865'
50
+
51
  # Predict emotion from audio
52
  def get_predictions(audio_input):
53
  emotion_prediction = predict_emotion_from_audio(audio_input)