https://github.com/roycuadra/storyaheai
https://github.com/roycuadra/storyaheai
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/roycuadra/storyaheai
- Owner: roycuadra
- License: mit
- Created: 2023-05-01T10:34:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T17:04:06.000Z (almost 2 years ago)
- Last Synced: 2025-01-18T09:43:06.642Z (3 months ago)
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# StoryaheAI
StoryaheAI is a web application built with Django and Python that uses the OpenAI API to generate short stories based on user input. The application takes user input in the form of a prompt and uses the GPT-3.5 model from OpenAI to generate a short story based on that prompt.
## Installation
To use StoryaheAI, you will need to have Python and Django installed on your computer. You will also need to sign up for an OpenAI API key.
Once you have Python and Django installed, you can clone the repository and install the necessary packages by running:
```bash
git clone https://github.com//storyaheai.git
cd storyaheai
pip install -r requirements.txt
```You will also need to create a `.env` file in the root directory of the project and add your OpenAI API key to it, like this:
```bash
OPENAI_API_KEY=
```## Usage
To start the application, navigate to the root directory of the project and run the following command:
This will start the Django development server, and you can access the application by navigating to http://localhost:8000 in your web browser.
To generate a short story, simply enter a prompt in the input field and click the "Generate" button. The application will then use the OpenAI API to generate a short story based on your prompt and display it on the page.
## Contributing
If you would like to contribute to StoryaheAI, you can fork the repository and submit a pull request with your changes. Please make sure to write clear and concise commit messages and follow the project's coding standards.
## License
StoryaheAI is licensed under the MIT License.