diff --git a/openai_server/agent_tools/audio_transcription.py b/openai_server/agent_tools/audio_transcription.py index 14944f988..2faa92963 100644 --- a/openai_server/agent_tools/audio_transcription.py +++ b/openai_server/agent_tools/audio_transcription.py @@ -31,7 +31,7 @@ def main(): ) # Save the image to a file if not args.output: - args.output = f"transcription_{uuid.uuid4()[:6]}.txt" + args.output = f"transcription_{str(uuid.uuid4())[:6]}.txt" # Write the transcription to a file with open(args.output, "wt") as txt_file: txt_file.write(transcription.text) diff --git a/openai_server/agent_tools/image_generation.py b/openai_server/agent_tools/image_generation.py index 2ad33b6b9..18562b8af 100644 --- a/openai_server/agent_tools/image_generation.py +++ b/openai_server/agent_tools/image_generation.py @@ -120,7 +120,7 @@ def main(): # Save the image to a file if not args.output: - args.output = f"image_{uuid.uuid4()[:6]}.txt" + args.output = f"image_{str(uuid.uuid4())[:6]}.txt" # Write the image data to a file with open(args.output, "wb") as img_file: diff --git a/src/version.py b/src/version.py index fd61b0c09..c83641bc3 100644 --- a/src/version.py +++ b/src/version.py @@ -1 +1 @@ -__version__ = "c457e918e1fdf8554355d877220b23f4af23a0b7" +__version__ = "7e8ad6ac9d54124bb5ffccb5d0dbb36b5324c657"