Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App does not transcribe or work #190

Open
Anonyme01z opened this issue Jul 30, 2024 · 3 comments
Open

App does not transcribe or work #190

Anonyme01z opened this issue Jul 30, 2024 · 3 comments

Comments

@Anonyme01z
Copy link

I was able to setup and launch but it just shows interface without any changes when i speak
When i speak i get this error

C:\Users\User\Desktop\ecoute\ecoute> python main.py

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.1 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "C:\Users\User\Desktop\ecoute\ecoute\main.py", line 3, in
from AudioTranscriber import AudioTranscriber
File "C:\Users\User\Desktop\ecoute\ecoute\AudioTranscriber.py", line 1, in
import whisper
File "C:\Program Files\Python312\Lib\site-packages\whisper_init_.py", line 8, in
import torch
File "C:\Program Files\Python312\Lib\site-packages\torch_init_.py", line 2120, in
from torch.higher_order_ops import cond
File "C:\Program Files\Python312\Lib\site-packages\torch_higher_order_ops_init
.py", line 1, in
from .cond import cond
File "C:\Program Files\Python312\Lib\site-packages\torch_higher_order_ops\cond.py", line 5, in
import torch._subclasses.functional_tensor
File "C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py", line 42, in
class FunctionalTensor(torch.Tensor):
File "C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py", line 258, in FunctionalTensor
cpu = _conversion_method_template(device=torch.device("cpu"))
C:\Program Files\Python312\Lib\site-packages\torch_subclasses\functional_tensor.py:258: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\utils\tensor_numpy.cpp:84.)
cpu = conversion_method_template(device=torch.device("cpu"))
[INFO] Adjusting for ambient noise from Default Mic. Please make some noise from the Default Mic...
[INFO] Completed ambient noise adjustment for Default Mic.
[INFO] Adjusting for ambient noise from Default Speaker. Please make or play some noise from the Default Speaker...
[INFO] Completed ambient noise adjustment for Default Speaker.
C:\Program Files\Python312\Lib\site-packages\whisper_init
.py:146: FutureWarning: You are using torch.load with weights_only=False (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for weights_only will be flipped to True. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via torch.serialization.add_safe_globals. We recommend you start setting weights_only=True for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
checkpoint = torch.load(fp, map_location=device)
[INFO] Whisper using GPU: False
READY
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available
Numpy is not available

Please note i have numpy installed
Ecoute 30_07_2024 15_00_38

@Anonyme01z
Copy link
Author

I do not see any transcription or answers or any changes in this UI

@sudip550
Copy link

sudip550 commented Aug 2, 2024

I do not see any transcription or answers or any changes in this UI

plz tell me solution, if you found it.

@Anonyme01z
Copy link
Author

Anonyme01z commented Aug 2, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants