Skip to content

tinkvu/WriterAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The writing paper you need in 21st Centuary!

Welcome to the WriterAI repository! This project integrates the GenAI and MetaLlama3 to provide a powerful writing assistant tool. You can either run the application locally or access it online. Follow the instructions below for both options.

Getting Started

Access the App Online

You can access the running application directly at: Writerr on Streamlit

1. Clone the Repository

Clone this repository to your local machine using:

git clone https://github.com/tinkvu/WriterAI.git
cd WriterAI

2. Get GenAI API Key

  • Visit Google AI Studio to get your GenAI API Key.
  • Sign up or log in to obtain the key.

3. Get TogetherAI API Key

  • Contact TogetherAI to receive your API key.
  • Visit their website or reach out to their support team for instructions.

4. Add API Keys

Add your API keys to a .env file in the root directory or directly in the app.py file.

Using a .env File

Create a .env file and add the following lines:

genaiAPI=your_genai_api_key
togetherApi=your_togetherai_api_key

Directly in app.py

Alternatively, you can hardcode the API keys into app.py (not recommended for production):

genaiAPI = "your_genai_api_key"
togetherApi = "your_togetherai_api_key"

5. Install Requirements

Install the required dependencies using pip:

pip install -r requirements.txt

6. Run the Application

Start the Streamlit application with:

streamlit run app.py

Happy Writing!

Snapshots

Here are some snapshots of the application in action:

Snapshot 1

Snapshot 2

Snapshot 3

Contributing

We welcome contributions! If you'd like to contribute, please follow the standard GitHub workflow:

  1. Fork the repository.
  2. Create a new branch.
  3. Make your changes.
  4. Submit a pull request.

For any questions or issues, feel free to open an issue on the GitHub repository.

Happy coding! 🚀