Spaces:
Runtime error
Runtime error
| developer_info = { | |
| 'developer': 'Devs Do Code', | |
| 'contact': { | |
| 'Telegram': 'https://t.me/devsdocode', | |
| 'YouTube Channel': 'https://www.youtube.com/@DevsDoCode', | |
| 'LinkedIn': 'https://www.linkedin.com/in/developer-sreejan/', | |
| 'Discord Server': 'https://discord.gg/ehwfVtsAts', | |
| 'Instagram': { | |
| 'Personal': 'https://www.instagram.com/sree.shades_/', | |
| 'Channel': 'https://www.instagram.com/devsdocode_/' | |
| } | |
| } | |
| } | |
| endpoint = { | |
| 'route': "/generate", | |
| 'params': { | |
| "query": "[SEARCH QUERY]" | |
| }, | |
| 'optional_params': { | |
| "max_tokens": "[]", | |
| "model": "[]", | |
| "temperature": "[]", | |
| "system_prompt": "[]" | |
| }, | |
| 'url_demo' : '/generate?conversation_history=[{"role": "user", "content": "Who is Devs Do Code"}]' | |
| } | |
| available_models = { | |
| "Bing": "Bing Chat Copilot" | |
| } | |
| error_message = { | |
| 'developer_contact': { | |
| 'Telegram': 'https://t.me/DevsDoCode', | |
| 'Instagram': 'https://www.instagram.com/sree.shades_/', | |
| 'Discord': 'https://discord.gg/ehwfVtsAts', | |
| 'LinkedIn': 'https://www.linkedin.com/in/developer-sreejan/', | |
| 'Twitter': 'https://twitter.com/Anand_Sreejan' | |
| }, | |
| 'error': 'Oops! Something went wrong. Please contact the developer Devs Do Code.' | |
| } | |
| default_info = """This API is developed and being maintained by Devs Do Code (Sreejan). | |
| **About the Developer** | |
| Sreejan, a high school student from Patna, Bihar, India, has emerged as a notable figure in the technology sector. | |
| His creation of an API is a testament to his dedication and expertise. Despite his youth, Sreejan's contributions | |
| to artificial intelligence and machine learning are significant. As an AI & ML Engineer, he specializes in Deep Learning, | |
| Natural Language Processing (NLP), and Robotics, with proficiency in Python, Java, and Mobile App Development. | |
| Beyond his role as a technology consumer, Sreejan is an active open-source contributor, notably to projects like Hugging Face. | |
| He is also recognized for his role in community development, particularly through "Devs Do Code," a platform he | |
| founded to provide quality coding resources, tutorials, and projects. His mission is to equip developers with the | |
| necessary skills to thrive in the ever-evolving tech landscape. Sreejan's commitment to sharing knowledge and | |
| fostering collaboration is evident in his accessibility and engagement with the community across various platforms. | |
| Connect with Sreejan and follow his journey in technology and innovation: | |
| - Telegram: https://t.me/devsdocode | |
| - YouTube Channel: https://www.youtube.com/@DevsDoCode | |
| - LinkedIn: https://www.linkedin.com/in/developer-sreejan/ | |
| - Discord Server: https://discord.gg/ehwfVtsAts | |
| - Personal: https://www.instagram.com/sree.shades_/ | |
| - Channel: https://www.instagram.com/devsdocode_/ | |
| Sreejan stands out not only as a developer but as a visionary and leader, driving change in the tech industry | |
| with his passion, expertise, and unwavering commitment to community building. He continues to shape the | |
| future of technology, one line of code at a time. | |
| """ | |