Replies: 3 comments 5 replies
-
Can you describe the environment you are running in - are you running in a Jupyter notebook or a Colab? Recent commit may be similar issue: |
Beta Was this translation helpful? Give feedback.
3 replies
-
17Jan2023 release works without needing to change
|
Beta Was this translation helpful? Give feedback.
2 replies
-
I have deal with this problem, this chinese blog maybe can help you :https://blog.csdn.net/sinat_33353575/article/details/125110025 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
/lib/python3.8/dist-packages/whisper/transcribe.py
introduces the below error which wasn't occurring a couple of weeks ago.
Could you take a look?
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/gradio/routes.py", line 275, in run_predict
output = await app.blocks.process_api(
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 760, in process_api
result = await self.call_function(fn_index, inputs, iterator)
File "/usr/local/lib/python3.8/dist-packages/gradio/blocks.py", line 671, in call_function
prediction = await anyio.to_thread.run_sync(
File "/usr/local/lib/python3.8/dist-packages/anyio/to_thread.py", line 31, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 937, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 867, in run
result = context.run(func, *args)
File "", line 2, in create_textfile
results = model.transcribe(video_name, verbose=True, language="en")
File "/usr/local/lib/python3.8/dist-packages/whisper/transcribe.py", line 212, in transcribe
add_segment(
File "/usr/local/lib/python3.8/dist-packages/whisper/transcribe.py", line 172, in add_segment
sys.stdout.buffer.write(line.encode(sys.getdefaultencoding(), errors="replace"))
AttributeError: 'OutStream' object has no attribute 'buffer'
Beta Was this translation helpful? Give feedback.
All reactions