Adityadn commited on
Commit
bb9781f
·
verified ·
1 Parent(s): 00111e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def convert_image_ffmpeg(image, target_format):
42
  image_path = os.path.join(temp_dir, f"{sanitized_base_name}.png") # Saving as mp4 by default for now
43
 
44
  # Nama file keluaran dengan awalan yang diinginkan
45
- output_file = f"flowly_ai_image_converter_{base_name}.{target_format.lower()}"
46
 
47
  with open(image_path, "wb") as f:
48
  f.write(image.getbuffer()) # Save the uploaded video to a local file
 
42
  image_path = os.path.join(temp_dir, f"{sanitized_base_name}.png") # Saving as mp4 by default for now
43
 
44
  # Nama file keluaran dengan awalan yang diinginkan
45
+ output_file = f"flowly_ai_image_converter_{sanitized_base_name}.{target_format.lower()}"
46
 
47
  with open(image_path, "wb") as f:
48
  f.write(image.getbuffer()) # Save the uploaded video to a local file