Spaces:
Running
Running
Upload app.py
Browse files
app.py
CHANGED
|
@@ -56,19 +56,21 @@ faq_content="""
|
|
| 56 |
|
| 57 |
Write your prompt as a simple comma‑separated list of things you want to see in your image, then press the Run button. Prompt Squirrel will:
|
| 58 |
|
| 59 |
-
* highlight any unknown or misspelled tags,
|
| 60 |
-
* suggest corrected tags
|
| 61 |
-
* recommend additional tags
|
| 62 |
* list artists who produce topically similar content
|
| 63 |
|
| 64 |
You do not need to structure the prompt in any special way; just describe what you want in short phrases separated by commas.
|
| 65 |
|
|
|
|
| 66 |
# System Overview
|
| 67 |
|
| 68 |
Prompt Squirrel uses NLP and vector‑space methods to map a free‑form prompt to the structured tag vocabulary expected by tag‑based Stable Diffusion models. Internally, we use a grammar parser, FastText embeddings, TF‑IDF and SVD for context scoring, and an approximate‑nearest‑neighbor index for artist and suggested tag retrieval. Our goal is to help users write prompts that align with the tag distributions the model was trained on.
|
| 69 |
|
| 70 |
See the Technical Details heading below for more information about how these all are used.
|
| 71 |
|
|
|
|
| 72 |
# Prompting Guidance and Common Questions
|
| 73 |
|
| 74 |
## What text to image models does this tool work for?
|
|
@@ -108,6 +110,7 @@ Yes. Repeating a tag gives it more weight in the artist‑similarity calculation
|
|
| 108 |
|
| 109 |
The dataset used by many tag‑based models contains both general‑audience and adult material. To avoid surprising users, mature tags are hidden unless the user explicitly enables them. This tool processes only text and metadata; no images from the dataset are displayed.
|
| 110 |
|
|
|
|
| 111 |
# Technical Details
|
| 112 |
|
| 113 |
## How is the artist list calculated?
|
|
|
|
| 56 |
|
| 57 |
Write your prompt as a simple comma‑separated list of things you want to see in your image, then press the Run button. Prompt Squirrel will:
|
| 58 |
|
| 59 |
+
* highlight any unknown or misspelled tags or syntax errors,
|
| 60 |
+
* suggest corrected tags,
|
| 61 |
+
* recommend additional tags based on context, and
|
| 62 |
* list artists who produce topically similar content
|
| 63 |
|
| 64 |
You do not need to structure the prompt in any special way; just describe what you want in short phrases separated by commas.
|
| 65 |
|
| 66 |
+
|
| 67 |
# System Overview
|
| 68 |
|
| 69 |
Prompt Squirrel uses NLP and vector‑space methods to map a free‑form prompt to the structured tag vocabulary expected by tag‑based Stable Diffusion models. Internally, we use a grammar parser, FastText embeddings, TF‑IDF and SVD for context scoring, and an approximate‑nearest‑neighbor index for artist and suggested tag retrieval. Our goal is to help users write prompts that align with the tag distributions the model was trained on.
|
| 70 |
|
| 71 |
See the Technical Details heading below for more information about how these all are used.
|
| 72 |
|
| 73 |
+
|
| 74 |
# Prompting Guidance and Common Questions
|
| 75 |
|
| 76 |
## What text to image models does this tool work for?
|
|
|
|
| 110 |
|
| 111 |
The dataset used by many tag‑based models contains both general‑audience and adult material. To avoid surprising users, mature tags are hidden unless the user explicitly enables them. This tool processes only text and metadata; no images from the dataset are displayed.
|
| 112 |
|
| 113 |
+
|
| 114 |
# Technical Details
|
| 115 |
|
| 116 |
## How is the artist list calculated?
|