Update app.py
Browse files
app.py
CHANGED
|
@@ -322,7 +322,8 @@ def process_audio(audio_input, text_input=''):
|
|
| 322 |
with open(audio_input, "rb") as file:
|
| 323 |
audio_input = file.read()
|
| 324 |
SaveNewFile=False # file is there and this is just prompt inference
|
| 325 |
-
st.write(audio_input)
|
|
|
|
| 326 |
|
| 327 |
transcription = client.audio.transcriptions.create(
|
| 328 |
model="whisper-1",
|
|
|
|
| 322 |
with open(audio_input, "rb") as file:
|
| 323 |
audio_input = file.read()
|
| 324 |
SaveNewFile=False # file is there and this is just prompt inference
|
| 325 |
+
#st.write(audio_input)
|
| 326 |
+
|
| 327 |
|
| 328 |
transcription = client.audio.transcriptions.create(
|
| 329 |
model="whisper-1",
|