Spaces:
Running
Running
| <html> | |
| <head> | |
| <title>Bubble Prompter</title> | |
| <meta name="license" content="CC BY-NC 4.0" /> | |
| <meta name="author" content="pols" /> | |
| <meta name="attribution" content="pols" /> | |
| <link rel="attribution" href="https://huggingface.co/pols" /> | |
| <link rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/" /> | |
| <link rel="stylesheet" type="text/css" href="styles.css"> | |
| <link href='https://fonts.googleapis.com/css?family=Signika' rel='stylesheet'> | |
| <meta charset="UTF-8"> | |
| </head> | |
| <body> | |
| <p style="text-align: center;"> | |
| <button id="replace-spaces-button" title="Divide text into bubbles | |
| Replace ' ' with ', '" class="buttons">๐</button> | |
| <button id="replace-underscore-button" title="Exile underscores from booru tags | |
| Replace '_' with ' '" class="buttons">๐ป</button> | |
| <button id="replace-linebreaks-button" title="Repair linebreaks" class="buttons">๐ง</button> | |
| <button id="replace-commas-button" title="Clean up orphan commas" class="buttons">๐งผ</button> | |
| <button id="remove-duplicates-button" title="Merge duplicate bubbles" class="buttons">๐งฒ</button> | |
| <button id="revert-underscore-button"title="Recall underscores | |
| Replace ' ' with '_'" class="buttons">๐ฎ</button> | |
| <button id="revert-spaces-button" title="Combine all | |
| Replace ', ' with ' '" class="buttons">๐ฉน</button> | |
| <button id="copy-button" title="Copy text to clipboard" class="buttons">๐</button> | |
| </p> | |
| <div class="container"> | |
| <textarea id="input-text" placeholder="Write or paste your text here" class="text-container"></textarea> | |
| <p style="text-align: center;"> | |
| <button id="undo-button" title="Undo" class="buttons">โฉ</button> | |
| <button id="mitigate-mode-button" title="Mitigate Mode | |
| Click on the bubbles to decrease the emphasis" class="buttons">๐ง</button> | |
| <button id="delete-mode-button" title="Delete Mode | |
| Click on the bubbles to remove them" class="buttons delete-mode-button">๐</button> | |
| <button id="emphasis-mode-button" title="Emphasis Mode | |
| Click on the bubbles to increase the emphasis" class="buttons">๐ฅ</button> | |
| <button id="redo-button" title="Redo" class="buttons">โช</button> | |
| </p> | |
| <div id="bubble-container"></div> | |
| </div> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.13.0/Sortable.min.js"></script> | |
| <script src="script.js"></script> | |
| </body> | |
| </html> |