NafisRayan / AI-Playground

AI Playground using Gemini API or HuggingFace Token to conduct specific tasks to fulfill specific needs.

Home Page:https://ai-playground-5wwl.onrender.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Title: AI Playground: Unleash Your Creative Spark!

Description: Embark on an AI-driven journey of creativity and exploration with this captivating Streamlit application. Enter your prompts and let the power of Generative AI weave stories, compose poems, generate code snippets, and more. Delve into the realm of imagination, where AI serves as your co-creator, transforming your ideas into tangible expressions.

Getting Started:

  1. Prerequisites:

    • Python 3 or later
    • Streamlit
    • Google's Generative AI API
    • Hugging Face Hub (for advanced AI models)
  2. Installation:

    • Install the required dependencies using pip install -r requirements.txt.
    • Get your Google Generative AI API key and set it as an environment variable (export GENERATIVE_AI_API_KEY=<YOUR_API_KEY>) or provide it directly in the code.
    • Obtain a Hugging Face token for accessing advanced models.
  3. Usage:

    • Run the application with streamlit run app.py.
    • The app's interface includes:
      • An input field for entering prompts.
      • An optional field for providing a special prompt to guide the AI's response.
      • Checkboxes for enabling file input, allowing you to extract text from PDF, TXT, DOCX, or CSV files.
      • A generate button to trigger the AI's response based on your inputs.
      • A download button for saving the generated text as a TXT, PY, or HTML file.
    • Explore different prompts and experiment with various AI models to discover the limitless possibilities of creative collaboration with AI.

Features:

  • Educational Tool:
    • Learn about AI and machine learning concepts through hands-on experimentation.
  • Community Engagement:
    • Share your creations and join discussions with other AI enthusiasts.
  • Scalable Models:
    • Experiment with different AI models to find the perfect fit for your creative needs.
  • Adaptive Interface:
    • Customizable interface to tailor the experience to your preferences.
  • Safety Settings:
    • Comprehensive safety measures to ensure responsible AI generation.
  • Background Image:
    • Enhance your creative experience with a dynamic background image.

About

AI Playground using Gemini API or HuggingFace Token to conduct specific tasks to fulfill specific needs.

https://ai-playground-5wwl.onrender.com/


Languages

Language:Python 100.0%