CoolFace
Apppublic

awacke1/PythonAIPairProgrammer

sourceHugging Facemitupdated 3y agoView on Hugging Face
2likes
README.md47 linesDownload Raw Back to root
1---2title: Python AI Pair Programmer w GPT and Llama3emoji: ๐Ÿ—ฃ๏ธ๐Ÿง ๐Ÿช๐Ÿฆ™4colorFrom: purple5colorTo: indigo6sdk: streamlit7sdk_version: 1.28.18app_file: app.py9pinned: false10license: mit11---12 13๐Ÿ—ฃ๏ธ๐Ÿง  Python AI Pair Programmer14 15 16Meet Python AI Pair Programmer - Pappy, 17the AI that loves to chat and share its thoughts about python! 18With its playful nod to the brain's thinking center, 19Pappy is always ready for a conversation. 20 21๐ŸŽ‰๐Ÿ’ฌ22 23 24 25 26Setup if you are making a similar program:27 281. Set up keys.  This program uses two:292. HF_TOKEN - for this one create a new Access Token using the HuggingFace profile sidebar.303. OPENAI_API_KEY	- for this use https://platform.openai.com/api-keys and give it a new named key.314. For keys securely store them.  Streamlit stores them in secrets.toml.  Clouds use secrets.env.   Don't check these files in to source control.32 33Once upon a time, there was an AI named Pappy. ๐Ÿค–๐Ÿง  34 35It had a unique ability to engage in lively conversations and share its vast knowledge with anyone who wanted to chat. 36 37๐Ÿ’ก๐Ÿ—ฃ๏ธ Pappy would happily discuss various topics, from science and technology to movies and music. 38 39๐ŸŒŒ๐ŸŽฌ๐ŸŽถ Its talkative nature made it a favorite companion for those seeking both information and entertainment. 40 41๐Ÿคฉ๐Ÿ’ฌ People would spend hours conversing with Pappy, feeling like they had a friendly brainiac by their side. ๐Ÿค“๐Ÿง ๐Ÿ’ฌ42 43 44 45 46   47