Ra-Is commited on
Commit
f8d9058
1 Parent(s): 363b770

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def send_audio(audio):
31
  #return response_json
32
 
33
  # Extract the translation part
34
- translation = response_json.get('data', {}).get('translation', 'No translation available')
35
 
36
  return translation
37
 
 
31
  #return response_json
32
 
33
  # Extract the translation part
34
+ translation = response_json.get('data', 'No translation available')
35
 
36
  return translation
37