Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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',
|
| 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 |
|