Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,9 +20,6 @@ def query(api_url, payload=None, data=None):
|
|
20 |
return response.json()
|
21 |
|
22 |
# Define the function to translate speech
|
23 |
-
# Define the function to translate speech
|
24 |
-
def translate_speech(audio_file):
|
25 |
-
# Define the function to translate speech
|
26 |
def translate_speech(audio_file):
|
27 |
print(f"Type of audio: {type(audio_file)}, Value of audio: {audio_file}") # Debug line
|
28 |
|
|
|
20 |
return response.json()
|
21 |
|
22 |
# Define the function to translate speech
|
|
|
|
|
|
|
23 |
def translate_speech(audio_file):
|
24 |
print(f"Type of audio: {type(audio_file)}, Value of audio: {audio_file}") # Debug line
|
25 |
|