Spaces:
Sleeping
Sleeping
Alexandre Gazola
commited on
Commit
·
a422c4c
1
Parent(s):
e4749b5
fix
Browse files
app.py
CHANGED
@@ -91,8 +91,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
91 |
file_path = os.path.join(BASE_DIR, 'files', f'{file_name}.b64')
|
92 |
question_text_for_agent += f'. The path to the base64 contents of the attatched file mentioned in the question is the following: {file_path}'
|
93 |
|
94 |
-
|
95 |
-
|
96 |
else:
|
97 |
file_path = os.path.join(BASE_DIR, 'files', file_name)
|
98 |
plain_txt_file = get_text_file_contents(file_path)
|
|
|
91 |
file_path = os.path.join(BASE_DIR, 'files', f'{file_name}.b64')
|
92 |
question_text_for_agent += f'. The path to the base64 contents of the attatched file mentioned in the question is the following: {file_path}'
|
93 |
|
94 |
+
print('testing whisper')
|
95 |
+
audio_to_text(file_path)
|
96 |
else:
|
97 |
file_path = os.path.join(BASE_DIR, 'files', file_name)
|
98 |
plain_txt_file = get_text_file_contents(file_path)
|