File size: 1,845 Bytes
0c1a91e
 
 
 
 
 
 
 
 
 
 
ed7d07c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0c1a91e
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
title: Story Maker App
emoji: 🏆
colorFrom: pink
colorTo: green
sdk: streamlit
sdk_version: 1.36.0
app_file: app.py
pinned: false
license: mit
---
# Story Maker App

A Streamlit web app powered by Google Generative AI that allows users to create stories, shayari, sher, poems, or quotes based on uploaded images or provided prompts.

## Overview

This app uses AI to generate creative content inspired by visual and textual inputs. Users can upload an image or enter a prompt, select the genre, length, language, and mood, and the app will generate content accordingly.

## Features

- **Upload Image:** Users can upload an image to inspire the AI-generated content.
- **Input Prompt:** Alternatively, users can provide a textual prompt to guide the content generation.
- **Genre Selection:** Choose from a variety of genres including story, shayari, sher, poem, and quote.
- **Length Options:** Select either short or long content length.
- **Language:** Choose between English and Hindi for the generated content.
- **Mood Selection:** Specify the mood such as emotional, sad, happy, horror, comedy, or romantic.
- **AI-Powered Generation:** Utilizes Google Generative AI to create realistic and emotional content based on user inputs.

## Usage

1. **Upload an Image:** Click on the "Choose an image..." button to upload an image.
2. **Input Prompt:** Enter a prompt in the text box if you prefer not to use an image.
3. **Select Options:** Choose genre, content length, language, and mood from the dropdown menus.
4. **Generate Content:** Click the "Generate" button to see the AI-generated story, shayari, sher, ghazal, poem, or quote.
5. **Feedback:** If no valid response is received, the app will inform you to try different inputs.

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference