Update app.py
Browse files
app.py
CHANGED
|
@@ -145,7 +145,7 @@ def create_result_html(results):
|
|
| 145 |
<strong>Alt Text:</strong><br>
|
| 146 |
<span id="alt-text-{i}">{result['alt_text']}</span>
|
| 147 |
</div>
|
| 148 |
-
<button class="copy-button" id="{button_id}" onclick="copyToClipboard(
|
| 149 |
📋 Copy Alt Text
|
| 150 |
</button>
|
| 151 |
</div>
|
|
|
|
| 145 |
<strong>Alt Text:</strong><br>
|
| 146 |
<span id="alt-text-{i}">{result['alt_text']}</span>
|
| 147 |
</div>
|
| 148 |
+
<button class="copy-button" id="{button_id}" onclick="copyToClipboard(`{result['alt_text']}`, '{button_id}')">
|
| 149 |
📋 Copy Alt Text
|
| 150 |
</button>
|
| 151 |
</div>
|