mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2026-01-29 02:04:33 +01:00
➕ refactor: summarize error message without line number
This commit is contained in:
@@ -136,7 +136,8 @@ data = {{
|
||||
}}
|
||||
response = requests.post(url, headers=headers, data=data)
|
||||
assert response.status_code == 200
|
||||
print('This is the text from the audio file:', response.text)'''
|
||||
print('This is the text from the audio file:', response.text)''',
|
||||
'use any library',
|
||||
# f'''\
|
||||
# import openai
|
||||
# audio_file= open("/path/to/file/audio.mp3", "rb")
|
||||
@@ -160,7 +161,7 @@ def test_generation_level_4(microservice_dir, mock_input_sequence):
|
||||
f'''Given an audio file (1min wav) of speech,
|
||||
1. convert it to text using the Whisper API.
|
||||
2. Summarize the text while still maintaining the key facts.
|
||||
3. Create an audio file of the summarized text using a tts library.
|
||||
3. Create an audio file of the summarized text using via tts.
|
||||
4. Return the the audio file as base64 encoded binary.
|
||||
''',
|
||||
str(microservice_dir),
|
||||
|
||||
Reference in New Issue
Block a user