Download customization.py from joaomorossini/AI_Patent_Classification: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/spaces/joaomorossini/AI_Patent_Classification/resolve/main/customization.py
- Command line
-
hf download hf://spaces/joaomorossini/AI_Patent_Classification/customization.py
-
curl -L -o customization.py https://huggingface.co/spaces/joaomorossini/AI_Patent_Classification/resolve/main/customization.py
756 Bytes
| 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; | |
| } | |
| """ |