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; | |
} | |
""" |