MatteoScript commited on
Commit
3752591
·
verified ·
1 Parent(s): 00dd371

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
main.py CHANGED
@@ -509,7 +509,6 @@ class InputImageToText(BaseModel):
509
 
510
  def base64_in_immagine(dati_base64):
511
  immagine = base64.b64decode(dati_base64)
512
- f"/tmp/image_{os.getpid()}.png"
513
  immagine_pil = Image.open(BytesIO(immagine))
514
  nome_file = "/tmp/img.jpg"
515
  immagine_pil.save(nome_file)
 
509
 
510
  def base64_in_immagine(dati_base64):
511
  immagine = base64.b64decode(dati_base64)
 
512
  immagine_pil = Image.open(BytesIO(immagine))
513
  nome_file = "/tmp/img.jpg"
514
  immagine_pil.save(nome_file)