Update app.py
Browse files
app.py
CHANGED
@@ -384,7 +384,6 @@ HTML_TEMPLATE = """
|
|
384 |
</div>
|
385 |
</div>
|
386 |
</div>
|
387 |
-
|
388 |
<script>
|
389 |
let currentCacheId = null;
|
390 |
|
@@ -443,7 +442,7 @@ HTML_TEMPLATE = """
|
|
443 |
showSuccess('PDF uploaded and cached successfully!');
|
444 |
|
445 |
// Add initial message
|
446 |
-
addMessage(
|
447 |
} else {
|
448 |
showError(result.error);
|
449 |
}
|
@@ -482,7 +481,7 @@ HTML_TEMPLATE = """
|
|
482 |
showSuccess('PDF uploaded and cached successfully!');
|
483 |
|
484 |
// Add initial message
|
485 |
-
addMessage(
|
486 |
} else {
|
487 |
showError(result.error);
|
488 |
}
|
|
|
384 |
</div>
|
385 |
</div>
|
386 |
</div>
|
|
|
387 |
<script>
|
388 |
let currentCacheId = null;
|
389 |
|
|
|
442 |
showSuccess('PDF uploaded and cached successfully!');
|
443 |
|
444 |
// Add initial message
|
445 |
+
addMessage('I\'ve analyzed your PDF document. What would you like to know about it?', 'ai');
|
446 |
} else {
|
447 |
showError(result.error);
|
448 |
}
|
|
|
481 |
showSuccess('PDF uploaded and cached successfully!');
|
482 |
|
483 |
// Add initial message
|
484 |
+
addMessage('I\'ve analyzed your PDF document. What would you like to know about it?', 'ai');
|
485 |
} else {
|
486 |
showError(result.error);
|
487 |
}
|