A newer version of the Gradio SDK is available:
5.22.0
metadata
title: Textual Inversion Image Generator with optional center focus(background blur)
emoji: π
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 3.50.2
app_file: app.py
pinned: false
Textual Inversion Image Generator with optional center focus(background blur)
Description
This is a simple gradio app that allows you to generate images using textual inversion. An prompt is eneterd by the user and a concept is selected from the dropdown menu. The image is generated using the entered prompt and the selected concept. Currently, there are 5 concepts to choose from. To read more about the concepts, refer https://huggingface.co/sd-concepts-library. The user can optionally select if the background should be blurred or not. Selecting that option generates an image that has a blurred background and the main subject is in focus.
How to use
- Enter your prompt in the text input field
- Select the concept from the dropdown menu
- Click on the generate button
- The image will be generated and displayed on the screen
How to setup and run the app
- Clone the repository
- Install dependencies:
pip install -r requirements.txt
- Run the app.py file
This will start the gradio app on http://127.0.0.1:7860. Open that link in your browser to use the app.python app.py