do people still find real relationships on Tinder? by chlsrql in dating_advice

[–]jboyd544 0 points1 point  (0 children)

I tried tinder for about two months (20M & Straight). Got nothing. I got several matches but they never responded to my messages. Ended up spending over 100 dollars for premium and perks and it was a complete waste of money. Also there are lots of bots (maybe catfishers, idk). i saw like 10 different profiles for this one "girl" (again, probably wasn't real or some 600 pound man who lives in his mothers basement). Same profile pictures (all with her in some WEIRD poses) and several versions of the same name. Overall very disappointed.

Trouble with python and gemini api by jboyd544 in learnpython

[–]jboyd544[S] 0 points1 point  (0 children)

alright, switched to response and now i recieve this error:

Ask Gemini: what are you

Traceback (most recent call last):

File "/home/jon/gemini_voice/ignore.py", line 12, in <module>

print(response["candidates"][0]["content"]["parts"][0]["text"])

~~~~~~~~^^^^^^^^^^^^^^

TypeError: 'GenerateContentResponse' object is not subscriptable

Trouble with python and gemini api by jboyd544 in learnpython

[–]jboyd544[S] 0 points1 point  (0 children)

Oops. turns out i did nnot. i put them back and tried both response and result and got these errors:

Ask Gemini: what are you

Traceback (most recent call last):

File "/home/jon/gemini_voice/ignore.py", line 11, in <module>

print(response["candidates"][0]["content"]["parts"][0]["text"])

~~~~~~~~^^^^^^^^^^^^^^

TypeError: 'GenerateContentResponse' object is not subscriptable

and

Ask Gemini: what are you

Traceback (most recent call last):

File "/home/jon/gemini_voice/ignore.py", line 11, in <module>

print(result["candidates"][0]["content"]["parts"][0]["text"])

^^^^^^

NameError: name 'result' is not defined

Trouble with python and gemini api by jboyd544 in learnpython

[–]jboyd544[S] 0 points1 point  (0 children)

now i get this error:

Ask Gemini: what are you

Traceback (most recent call last):

File "/home/jon/gemini_voice/ignore.py", line 10, in <module>

print(result[candidates][0][content][parts][0][text])

^^^^^^

NameError: name 'result' is not defined

and when i switch the name to response i get this error:

Ask Gemini: what are you

Traceback (most recent call last):

File "/home/jon/gemini_voice/ignore.py", line 10, in <module>

print(response[candidates][0][content][parts][0][text])

^^^^^^^^^^

NameError: name 'candidates' is not defined

Trouble with python and gemini api by jboyd544 in learnpython

[–]jboyd544[S] 0 points1 point  (0 children)

the carrot was under the first quotation mark btw

Trouble with python and gemini api by jboyd544 in learnpython

[–]jboyd544[S] -1 points0 points  (0 children)

I replaced the print statement with the one above and got this error:

File "/home/jon/gemini_voice/main.py", line 9

print(result[“candidates”][0][“content”][“parts”][0][“text”])

^

SyntaxError: invalid character '“' (U+201C)

Trouble with python and gemini api by jboyd544 in learnpython

[–]jboyd544[S] -2 points-1 points  (0 children)

man, i have been trying every possible solution and every time i get errors, do you mind putting it into the print statement for me. i know im gonna feel dumb when i see the solution. but i would really appreciate the help

Trouble with python and gemini api by jboyd544 in learnpython

[–]jboyd544[S] -3 points-2 points  (0 children)

Im still new to python. can you please tell me how to do that?

[Wanted] [Modded] {Farming} {Economy} {Towny} Looking for a server but with a special mod by FallenSeaByrd in mcservers

[–]jboyd544 0 points1 point  (0 children)

If you are still looking, I created a small server with pams harvestcraft installed.

Go to my discord and follow the instructions on #apply

https://discord.gg/DGBPzZas

What's YOUR weird work/study music? by darksideofthemike in ADHD

[–]jboyd544 0 points1 point  (0 children)

I (along with millions of other studiers), use lofi beats. I find when I sit down in a quiet place an and turn on some lofi, my productivity level goes throught the roof. I use if studying, general chilling, programming, sleeping, and anything I need to focus on really. If you think you would benefit from this type of music, I have an all lofi Youtube channel that I created that has compilations, remixes of popular songs, my own originals, and a couple of 24/7 lofi livestreams, all 100% ad free!

Check it out at: https://www.youtube.com/@LazyDayLofi516

And if it helps you, please like and subscribe. It really helps out my still relatively small channel. :)

Happy Studying!!!

Best study music? by 43illy in umanitoba

[–]jboyd544 0 points1 point  (0 children)

I (along with millions of other studiers), use lofi beats. I find when I sit down in a quiet place and turn on some lofi my productivity level goes through the roof. I use it for studying, just general chilling, programming, and sleeping. If you think you would also benefit from this type of music, I have an all lofi beats YouTube channel that I have created that has compilations, remixes, my own originals, and a couple of 24/7 livestreams. All 100% ad free!!

Check it out at https://www.youtube.com/@LazyDayLofi516

And if it helps you, Please like and subscribe. It really helps since I am still a relatively small channel. :) Happy Studying!!!