Sunil Surendra Singh commited on
Commit
d37ee97
·
1 Parent(s): a80e18e

Added app flow diagram

Browse files
Files changed (3) hide show
  1. README.md +13 -9
  2. assets/app-design-dark.png +3 -0
  3. assets/app-design.png +3 -0
README.md CHANGED
@@ -20,7 +20,11 @@ license: mit
20
 
21
  >This application employs a Text2Image model hosted by Huggingface, which is a modified adaptation of the Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation (BLIP) model. First, it generates a descriptive caption for an image. Then, it utilizes this caption to construct a prompt, which is subsequently used with OpenAI's GPT-3.5 to create engaging stories based on the provided picture.
22
 
23
- BLIP model details can be found [here](https://huggingface.co/Sof22/image-caption-large-copy)
 
 
 
 
24
 
25
  ## App Details
26
 
@@ -32,14 +36,14 @@ App UI is shown below:
32
 
33
  <img src="https://github.com/sssingh/pic-to-story/blob/main/assets/story-teller-app.png?raw=true" width="1000" height="450"/><br><br>
34
 
35
- **Dark Mode Toggle**: Activate it to switch between dark and light mode.
36
- **Image Selector**: Click on it to pick an image from your computer, or drag and drop an image onto it directly. Click the 'X' to clear the selection and resets the app.
37
- **Story Length (in words) Slider**: Adjust the slider to specify the desired length of the generated story.
38
- **Creativity Index Slider**: Modify the slider to indicate the desired level of creativity for the generated story. A range between 0.5 and 0.7 is recommended. Setting it to 1.0 results in highly creative, sometimes amusing output.
39
- **Generate Story Button**: Press this button to initiate the story generation process.
40
- **Clear Button**: Clears all settings and resets the app to its default state.
41
- **Story Text Area**: This is where the generated story will be displayed.
42
- **Example Section Expander**: Click to expand the section and access built-in examples for quick testing. Simply select an example, click "Generate Story," and no image upload will be necessary.
43
 
44
  The app includes pre-defined examples for your convenience, allowing you to quickly test its capabilities. Explore the examples section, choose one, and click "Generate Story" without needing to upload an image.
45
 
 
20
 
21
  >This application employs a Text2Image model hosted by Huggingface, which is a modified adaptation of the Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generation (BLIP) model. First, it generates a descriptive caption for an image. Then, it utilizes this caption to construct a prompt, which is subsequently used with OpenAI's GPT-3.5 to create engaging stories based on the provided picture.
22
 
23
+ ## App Flow
24
+
25
+ <img src="https://github.com/sssingh/pic-to-story/blob/main/assets/app-design-dark?raw=true" width="1000" height="450"/><br><br>
26
+
27
+ Text2Image model details can be found [here](https://huggingface.co/Sof22/image-caption-large-copy)
28
 
29
  ## App Details
30
 
 
36
 
37
  <img src="https://github.com/sssingh/pic-to-story/blob/main/assets/story-teller-app.png?raw=true" width="1000" height="450"/><br><br>
38
 
39
+ **Dark Mode Toggle**: Activate it to switch between dark and light mode.
40
+ **Image Selector**: Click on it to pick an image from your computer, or drag and drop an image onto it directly. Click the 'X' to clear the selection and resets the app.
41
+ **Story Length (in words) Slider**: Adjust the slider to specify the desired length of the generated story.
42
+ **Creativity Index Slider**: Modify the slider to indicate the desired level of creativity for the generated story. A range between 0.5 and 0.7 is recommended. Setting it to 1.0 results in highly creative, sometimes amusing output.
43
+ **Generate Story Button**: Press this button to initiate the story generation process.
44
+ **Clear Button**: Clears all settings and resets the app to its default state.
45
+ **Story Text Area**: This is where the generated story will be displayed.
46
+ **Example Section Expander**: Click to expand the section and access built-in examples for quick testing. Simply select an example, click "Generate Story," and no image upload will be necessary.
47
 
48
  The app includes pre-defined examples for your convenience, allowing you to quickly test its capabilities. Explore the examples section, choose one, and click "Generate Story" without needing to upload an image.
49
 
assets/app-design-dark.png ADDED

Git LFS Details

  • SHA256: e123c476d1414f8d93c914aec74338405e97a0a8e30ca01946ef397a9dd09644
  • Pointer size: 131 Bytes
  • Size of remote file: 257 kB
assets/app-design.png ADDED

Git LFS Details

  • SHA256: 7aa9ca423b9ddabf1920ed26d32bc7003e7fb8b0d75504e6863c6219239c7fba
  • Pointer size: 131 Bytes
  • Size of remote file: 250 kB