alievk / avatarify-python

Avatars for Zoom, Skype and other video-conferencing apps.
Other
16.3k stars 4.1k forks source link

On google collab i keep getting NameError on "in_addr" #757

Open Inakwu opened 1 month ago

Inakwu commented 1 month ago

Describe the bug After running the command on Google Collab I keep getting NameError on "in_addr"

To Reproduce The error is as follows (NameError: name 'in_addr' is not defined)

Info (please complete the following information):

Screenshots Avatarify - Colab - Google Chrome 28_09_2024 15_39_29

Logs NameError Traceback (most recent call last) in <cell line: 3>() 1 print('Copy-paste to the terminal the command below and run (press Enter)\n') 2 print('Mac:') ----> 3 print(f'./run_mac.sh --is-client --in-addr {in_addr} --out-addr {out_addr}') 4 print('\nWindows:') 5 print(f'run_windows.bat --is-client --in-addr {in_addr} --out-addr {out_addr}')

NameError: name 'in_addr' is not defined

DasolutionHub commented 1 month ago

I noticed that many of you are encountering challenges with running Avatarify on Google Colab. I have experience troubleshooting these issues and can assist you in getting it set up properly.

If you’re looking for personalized support, I offer paid assistance to help resolve these problems efficiently. Please feel free to reach out to me directly via email at dasolutionshub@gmail.com or on Telegram at dasolutionhub for more details on pricing and services.

seegunz commented 1 month ago

Describe the bug

After running the command on Google Collab I keep getting NameError on "in_addr"

To Reproduce

The error is as follows (NameError: name 'in_addr' is not defined)

Info (please complete the following information):

  • OS (e.g., Linux): Windows

  • GPU model: AMD Radeon(TM) Vega 8 Graphics Radeon RX 560X

  • Any other relevant information:

I am using Anaconda for the prompt and Avatarify has been activated there. This issue arises from Google Collab under 'Start the Client'

Screenshots

Avatarify - Colab - Google Chrome 28_09_2024 15_39_29

Logs

NameError Traceback (most recent call last)

in <cell line: 3>()

  1 print('Copy-paste to the terminal the command below and run (press Enter)\n')

  2 print('Mac:')

----> 3 print(f'./run_mac.sh --is-client --in-addr {in_addr} --out-addr {out_addr}')

  4 print('\nWindows:')

  5 print(f'run_windows.bat --is-client --in-addr {in_addr} --out-addr {out_addr}')

NameError: name 'in_addr' is not defined

Don't mind anyone asking you to DM without stating a solution here. The issue is with your NGROK token. You probably need a premium token to use.

Inakwu commented 1 month ago

Okay, thank you. So, I need to pay for a premium NGROK account for my token to be premium right? Or is there another way around it?

DasolutionHub commented 1 month ago

@ seegunz Regarding the mention of a ‘premium token’ that doesn’t seem accurate. Ngrok does not provide a separate ‘premium token.’ Instead, Ngrok has made changes to their service that require users to authenticate their account. This is a security measure and while Ngrok does offer paid features, such as more concurrent tunnels and custom domains, there’s no specific ‘premium token.’ The changes to their API do however require verification through the account setup process.

seegunz commented 1 month ago

Well the premium there means subscription. You do that on your ngrok profile

OkeyyDRIOD commented 1 month ago

Oga the premium I paid for you nor give me

On Tue, Oct 8, 2024 at 1:26 PM seegunz @.***> wrote:

Well the premium there means subscription. You do that on your ngrok profile

— Reply to this email directly, view it on GitHub https://github.com/alievk/avatarify-python/issues/757#issuecomment-2399703430, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ6PNKXFJ7K3JHGSNSGFK6DZ2PFPTAVCNFSM6AAAAABPAWEUHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJZG4YDGNBTGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

seegunz commented 1 month ago

You are mistaking for someone else. I don't charge and I've never charge and I've never asked anyone to send me message. Go through your records and address that to the exact person you have been talking to.

DasolutionHub commented 1 month ago

@seegunz Ngrok’s ‘premium’ refers to their paid subscription plans that unlock additional features such as custom subdomains, reserved IP addresses and increased bandwidth limits. This is not a ‘premium token’ it’s simply a subscription model. When people refer to ‘premium’ for ngrok, they mean subscribing to a plan through your ngrok profile

It’s important to understand that ngrok does not offer any ‘premium token’ to activate advanced features. Instead now they require users to verify their account for security..The idea of a separate premium token is misleading, as ngrok doesn’t operate in that way.

seegunz commented 1 month ago

Well I wasreferring to the paid subscription as that's the report someone told me worked for them. However, thank you for the enlightenment.

DasolutionHub commented 1 month ago

@seegunz I appreciate your clarification but it’s important to only provide solutions that have been thoroughly tested and verified. Offering advice based solely on reports from others without personal confirmation can lead to confusion and misinformation, especially when dealing with technical issues like this. It’s critical to ensure that any solutions recommended have been validated to avoid unintentionally misleading others. Thank you for understanding.

seegunz commented 1 month ago

Okay, thank you.

So, I need to pay for a premium NGROK account for my token to be premium right?

Or is there another way around it?

From the sources who had similar issues, they did subscription on their ngrok account. While someone complained that it stopped working after sometime, others still use it.

I'm not into colla. But I think you can check with subscribing or if you have a friend that has already subscribed, you can ask their token.

It's preferable you used a graphic pc to cut all of these issues off. There are more softwares out there you can look into.

All the best

Updatedme commented 1 month ago

This project is retired and has not been updated to long . Most model and dependency dosent fit in right to your system update. But i can help you get avatarify installation working right , you can follow my easy step by step guild on youtube from
(For gpu https://youtu.be/_NxqtglvfI0?si=nXZx67l4tFNb7egm

For cpu computers https://youtu.be/UnDCMPKywY8?si=lI5BmOn4C2j9h73o)

If you need further assistance, here's my whatsapp https://wa.me/message/GXQYWX4XRTXGB1 +2347081306010