Ra-Is commited on
Commit
bc7a8a0
1 Parent(s): 23e8b9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -28,6 +28,7 @@ def send_audio(audio):
28
 
29
  response = requests.post(url, files=files, data=data)
30
  response_json = response.json()
 
31
 
32
  # Extract the translation part
33
  translation = response_json.get('data', {}).get('translation', 'No translation available')
 
28
 
29
  response = requests.post(url, files=files, data=data)
30
  response_json = response.json()
31
+ return response_json
32
 
33
  # Extract the translation part
34
  translation = response_json.get('data', {}).get('translation', 'No translation available')