Rogendo / Mental-health-Chatbot

This is a MULTILINGUAL bot designed to provide emotional support and assistance to individuals struggling with mental health issues. It can help individuals access mental health resources, offer guidance and support. With the integration of Language translation, this chatbot will be very efficient as it will be able to break the language barriers
https://codeaxe.co.ke/multilingobot/
110 stars 60 forks source link

needed help for installion #13

Closed ASHISH14-glitch closed 7 months ago

ASHISH14-glitch commented 7 months ago

after running requirements command getting this error-pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. tensorflow-intel 2.12.0 requires keras<2.13,>=2.12.0, but you have keras 2.11.0 which is incompatible.

ASHISH14-glitch commented 7 months ago

ok after running how much time it takes to download nltk data . after taking 1 hour it shows ---
TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are:

  1. Downgrade the protobuf package to 3.20.x or lower.
  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
ASHISH14-glitch commented 7 months ago

raise HFValidationError( huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './model/eng_swa_model/'. Use repo_type argument if needed. -
now getting this error \

its-kios09 commented 7 months ago

those are models are missing

Pranathi-18-sudha commented 7 months ago

Hello Sir,I am Getting the error in running flask app sir raise HFValidationError( huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': './model/eng_swa_model/'. Use repo_type argument if needed.

Rogendo commented 7 months ago

Did you download the models from the link provided in the readme.md?

Pranathi-18-sudha commented 7 months ago

Yes Sir I Have downloaded both of them swa_eng_model and eng_swa_model

Rogendo commented 7 months ago

Send a screenshot of the project tree in your environment. I need to see the file structure and how the files look like on your end

On Sat, 20 Apr 2024, 09:59 Pranathi-18-sudha, @.***> wrote:

Yes Sir I Have downloaded them Both them swa_eng_model and eng_swa_model

— Reply to this email directly, view it on GitHub https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2067582461, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZXYFWYG3TJRXGAMEXH4XLY6IG5XAVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXGU4DENBWGE . You are receiving this because you commented.Message ID: @.***>

Rogendo commented 7 months ago

Create a folder named model into the main project folder you cloned. In the newly created folder, add the two downloaded models.

On Mon, 22 Apr 2024, 08:24 Pranathi-18-sudha, @.***> wrote:

Screenshot_20240422-105219_WhatsApp.jpg (view on web) https://github.com/Rogendo/Mental-health-Chatbot/assets/123795922/ef8b00c2-7561-4ddf-b256-4e8e9b496c00

— Reply to this email directly, view it on GitHub https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2068514333, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZXYFXZCVYBZCSJ6DUFG6TY6SNINAVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYGUYTIMZTGM . You are receiving this because you commented.Message ID: @.***>

Pranathi-18-sudha commented 7 months ago

image I'm getting the same error again sir

Rogendo commented 7 months ago

The name "model" should be in lowercase and it is in singular form not with an "s". Just name the folder "model"

On Tue, 23 Apr 2024, 10:22 Pranathi-18-sudha, @.***> wrote:

image.png (view on web) https://github.com/Rogendo/Mental-health-Chatbot/assets/123795922/15ae3f65-4de0-455f-9d6f-86b972e260d9 I'm getting the same error again sir

— Reply to this email directly, view it on GitHub https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2071604727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZXYFTRP6VVAVZKQOGDLT3Y6YDZVAVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGYYDINZSG4 . You are receiving this because you commented.Message ID: @.***>

Pranathi-18-sudha commented 6 months ago

Thank You for the help sir.It's running now

On Tue, 23 Apr 2024, 1:30 pm Peter, @.***> wrote:

The name "models" should be in lowercase 🥲😂😂

On Tue, 23 Apr 2024, 10:22 Pranathi-18-sudha, @.***> wrote:

image.png (view on web) < https://github.com/Rogendo/Mental-health-Chatbot/assets/123795922/15ae3f65-4de0-455f-9d6f-86b972e260d9>

I'm getting the same error again sir

— Reply to this email directly, view it on GitHub < https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2071604727>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOZXYFTRP6VVAVZKQOGDLT3Y6YDZVAVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGYYDINZSG4>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2071667860, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5QPTURBX5LQRJIPEANXWXDY6YII5AVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGY3DOOBWGA . You are receiving this because you commented.Message ID: @.***>

Rogendo commented 6 months ago

Glad it worked!

On Thu, 25 Apr 2024, 06:24 Pranathi-18-sudha, @.***> wrote:

Thank You for the help sir.It's running now

On Tue, 23 Apr 2024, 1:30 pm Peter, @.***> wrote:

The name "models" should be in lowercase 🥲😂😂

On Tue, 23 Apr 2024, 10:22 Pranathi-18-sudha, @.***> wrote:

image.png (view on web) <

https://github.com/Rogendo/Mental-health-Chatbot/assets/123795922/15ae3f65-4de0-455f-9d6f-86b972e260d9>

I'm getting the same error again sir

— Reply to this email directly, view it on GitHub <

https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2071604727>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/AOZXYFTRP6VVAVZKQOGDLT3Y6YDZVAVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGYYDINZSG4>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub < https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2071667860>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/A5QPTURBX5LQRJIPEANXWXDY6YII5AVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGY3DOOBWGA>

. You are receiving this because you commented.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Rogendo/Mental-health-Chatbot/issues/13#issuecomment-2076281313, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOZXYFRRYWLOI4WEIJ44SY3Y7BZO7AVCNFSM6AAAAABGEFWQ4SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGI4DCMZRGM . You are receiving this because you commented.Message ID: @.***>