# OpenAI Whisper- Send Bytes (python) instead of filename

**URL:** <https://community.openai.com/t/openai-whisper-send-bytes-python-instead-of-filename/84786>\
**Category:** API\
**Tags:** whisper\
**Created:** [March 5, 2023, 3:28pm UTC](https://community.openai.com/t/openai-whisper-send-bytes-python-instead-of-filename/84786 "2023-03-05T15:28:24Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tudor.chifor](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/tudor.chifor/32/34731_2.png) [@tudor.chifor](https://community.openai.com/u/tudor.chifor)\
**Post date:** [May 17, 2023, 3:38pm UTC](https://community.openai.com/t/openai-whisper-send-bytes-python-instead-of-filename/84786/3 "2023-05-17T15:38:51Z")

</div>

Any updates on this issue ? [quote=“virajvaitha1995, post:1, topic:84786, full:true”]  
Hi,

I hope you’re well. Really enjoying using the OpenAI api, recently had some challenges and was looking for some help.

I don’t want to save audio to disk and delete it with a background task.

My FastAPI application uses a an UploadFile (meaning users upload the file, and I then have access a SpooledTemporaryFile).

Previously using the free version of Whisper on Github, I was able to send the bytes to the model, whereas this API isn’t working this way.

Can anyone else advise on how they are transcribing audio in python without saving videos/audio to disk?

Thanks,  
[/quote]

---

_[View the full topic](https://community.openai.com/t/openai-whisper-send-bytes-python-instead-of-filename/84786)._
