Spaces:
Running
Running
Update static/appS.js
Browse files- static/appS.js +1 -1
static/appS.js
CHANGED
@@ -187,7 +187,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
187 |
|
188 |
const isSummarizeMode = document.querySelector('input[name="mode"]:checked').value === 'Summarize';
|
189 |
const endpoint = isSummarizeMode ? '/summarize/' : '/imagecaption/';
|
190 |
-
const thinkingText = isSummarizeMode ? 'Processing document
|
191 |
const senderName = "Aidan";
|
192 |
|
193 |
const thinkingBubble = createMessageBubble(thinkingText, senderName);
|
|
|
187 |
|
188 |
const isSummarizeMode = document.querySelector('input[name="mode"]:checked').value === 'Summarize';
|
189 |
const endpoint = isSummarizeMode ? '/summarize/' : '/imagecaption/';
|
190 |
+
const thinkingText = isSummarizeMode ? 'Processing document 📄... <div class="loader"></div>' : "Generating caption 🖼️ ... <div class='loader'></div>";
|
191 |
const senderName = "Aidan";
|
192 |
|
193 |
const thinkingBubble = createMessageBubble(thinkingText, senderName);
|