File size: 756 Bytes
f11dfb5 f193b0b f11dfb5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
js = """
function createGradioStaticText() {
var container = document.createElement('div');
container.id = 'gradio-animation'; // Keep the ID for consistent styling
container.style.fontSize = '2em';
container.style.textAlign = 'center';
container.style.marginBottom = '10px';
container.style.fontFamily = 'Roboto, sans-serif';
var text = 'π€π―π Zero-Shot Patent Classifier ππ―π€';
container.innerText = text; // Set the text content directly
var gradioContainer = document.querySelector('.gradio-container');
gradioContainer.insertBefore(container, gradioContainer.firstChild);
}
"""
css = """
.all_results {
height: 90vh;
}
.reasoning_results {
overflow: scroll;
height: 85vh;
}
""" |